Flask Web Development with Python Tutorial – 6 – Mapping Multiple URLs

7
78

Facebook – https://www.facebook.com/TheNewBoston-464114846956315/ GitHub – https://github.com/buckyroberts Google+ – https://plus.google.com/+BuckyRoberts LinkedIn – https://www.linkedin.com/in/buc…

source

7 COMMENTS

  1. hello,
    can we have any other option for the replacement of the render_template('filename.html').
    like without using render_template('filename.html') we have to connect the python and html file.

  2. How come you used the same template for a guest and a logged in user and wrote a if-statement in your HTML-file, instead of writing an if-statement in your index method and sending them to different templates? Was it just to demonstrate or do you do this for real websites?

LEAVE A REPLY