November 2015
Beginner to intermediate
840 pages
26h 30m
English
runserver via manage.pyWhile Django has only created a skeleton project, it has created a working skeleton project, which we can view using Django’s testing server (the one referenced in /suorganizer/wsgi.py). Django’s /manage.py script, provided to every project, allows us to quickly get up to speed.
Django requires a database before it can run. We can create a database with the (somewhat cryptic) command migrate (Example 1.5).
Example 1.5: Shell Code
$ ./manage.py migrate
You should be greeted with the output (or similar output) shown in Example 1.6.
Example 1.6: Shell Code
Operations to perform: Synchronize unmigrated apps: staticfiles, messages Apply ...
Read now
Unlock full access