Monday, January 6, 2020

Catalin George Festila: Python 3.7.5 : Post class and migration process.

Today I will solve some issues with the Django framework like: create a new class for posts; explain how the migration process works. use the database with Django shell; Let's activate the environment: [mythcat@desk django]$ source env/bin/activateI used my old project django-chart, see my old tutorials. Let's add some source code to the models.py to create a class for the post into my website:

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...