二手产品经理

二手产品经理

THIS IS RENO

flask - 86 days - Learn Python online for 100 days

Record#

  1. I haven't been feeling well and have been busy with too many things in the past two weeks, which has caused a lot of delays in this learning plan. I will catch up starting today!
  2. Today's exercise is to create a personal blog page with login and publishing functionality.
  3. There were several issues encountered during this exercise:
    1. When redirecting, use "return".
    2. When storing data in the database, if the value is "", it will be treated as a string because it is wrapped in quotes. Therefore, when storing in JSON format, there must be no quotes on the outside.
    3. The indentation of the code after a loop or if statement must be correct, and understanding of the for loop needs to be strengthened.

CODE#

main.py#

index.html#

login.html#

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.