Per the Django Tutorials Polls App:
to include the app in our project, we need to add a reference to its configuration class in the INSTALLED_APPS
setting. ThePollsConfig
class is in the polls/apps.py
file, so its dotted path is 'polls.apps.PollsConfig'
. Edit the mysite/settings.py
file and add that dotted path to the INSTALLED_APPS
setting. It’ll look like this:
what is the syntax for setting something up in the installed_appps setting.
is it the app name.apps keyword than . AppNameConfig?
How does that work?