(1) Base on the project in the video segment 5.
(2) Tango With Django 1.7 Book location:
http://www.tangowithdjango.com/book17...
(3) Command to create the data model to database sync script:
python manage.py makemigrations rango
Please note where "rango" is the name of the application. If you omit the name of the application then the command of generate the migration script for all the applications.
(4) Command to actually create the tables in the database that match the data model you have created in the Django project:
python manage.py migrate
(5) Command to create a admin (super user) in Django is:
python manage.py createsuperuser
(6) To make the objects that you created in the Rango application data model visible to the Django Admin application so we can perform the editing and viewing ability. Add the following two lines in the rango/admin.py file:
from rango.models import Category, Course
admin.site.register(Category)
admin.site.register(Course)