TIL

TIL 2020.10.21

paigekim29 2020. 10. 22. 00:01

TO DO LIST

  1. Practice python using app.route ✅

WHAT I LEARNED

  • request.args.get allows to get more than one positional argument
  • make fake database to shorten searching times when he searches same item again
  • better to use 'SINGLE QUOTE' for attributes

  • Can use python inside HTML 
    • Need to put both {% if __________________ %} and {% endif_______________ %}
  • Need to use the |safe filter to explicitly mark a string as safe HTML 

 

 

reference: http://flask.palletsprojects.com/en/1.1.x/templating/#controlling-autoescaping