1.7.4 Connecting Our New Django Apps to Our Django Project in settings.py
Consider for a moment the difference between /organizer/
(or /blog/
) and /suorganizer/
. Both encapsulate data, the former for our organizer (or blog) app and the second for our project-wide settings, a phrase that should mean more now that we know the difference between an app and a project (reminder: a project is made up of one or more apps).
We must now connect our new apps to our project; we must inform our project of the existence of organizer and blog. On line 33 of /suorganizer/settings.py
, you will find a list of items titled INSTALLED_APPS
. Currently enabled in our project are a list of Django contributed apps (you can tell because these items all start with django.contrib ...
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.