1.7.2 Checking Our Installation by Invoking Django’s runserver via manage.py

While 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 ...

Get Django Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.