[Flask] content - storing - rendering
un gern
ungern at zetteeh.net
Fri Sep 4 11:37:23 CEST 2015
hi there,
somehow i got a bit confused although i thought i did get the basic concept of flask..?!
how/ from where does the content (text) get onto the screen?
i created a basic.html template and want to work with several child-templates. right now i have stored some information directly in the app.py file and render it on a url-request. but this seems to be the wrong place for the information.
i also thought of a little markup-funktion in the app.py file that would take text from an static .txt file stored on the server.
or does a database the best job for that - even though i don't need to take/store any user-input?
is there any common workflow i missed?
thanks!
florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/flask/attachments/20150904/b006ab22/attachment.sig>
More information about the Flask
mailing list