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:
↧