Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 24363

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

$
0
0
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:

Viewing all articles
Browse latest Browse all 24363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>