Tuesday, August 6, 2019

Catalin George Festila: Python 3.7.3 : Using the flask - part 010.

If you read my last tutorial about flask then you understand how to use the structure flask project with views.py and models.py. If you run it and open the browser with https://ift.tt/2YqKyE4 the result will be this: {"texts":[{"title":"first title","txt_content":"this is first content"},{"title":null,"txt_content":null}]} Let's create a file .env into the base folder named my_flask and add

from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...