Recently reading the Django Web Development Guide to learn the Python-django framework, when practicing creating a simple blog, found that the situation and the contents of the book do not match:
1, is currently the new Django version without syncdb This command, replaced by migrate and makemigrations
2, in accordance with the book after the simple blog, the use of the framework to create a simple blog after the save will appear error, prompting operationalerror:no such table:blog_blogpost, because of the database, and errors in the hint can not find Blog_ Blogpost table, guess here is the problem of SQLite, because after the creation of simple blog, related to some like time, title and other data table creation, and in this process is not created, you should use manage.py migrate to update the SQLite database, Problem solving.
A small question about the Python-django database