November 2015
Beginner to intermediate
840 pages
26h 30m
English
For the sake of time, we reuse our suorganizer project. For the sake of repetition, we create (and then destroy) a new app.
As seen in Chapter 1, interacting with Django via the shell always starts with an invocation to manage.py. We start by creating a new app, helloworld, using the startapp command shown in Example 2.1.
Example 2.1: Shell Code
$ ./manage.py startapp helloworld
The file directory is exactly the same as for organizer and blog, as discussed in Chapter 1, Section 1.7.3. Just as before, we must now connect or integrate our app to our project. We append the name of our app to a list of installed apps in the project settings file. Open /suorganizer/settings.py ...
Read now
Unlock full access