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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.