diff options
| author | Tim Graham <timograham@gmail.com> | 2015-11-17 10:50:00 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-11-17 19:43:11 -0500 |
| commit | 7bbfc43e34c1909b8edfc8e3188c35447cffef15 (patch) | |
| tree | 38365225ff9cd0457d507e2fcb3547dce310bb9d | |
| parent | 43da3179a46c9000532a46674424923d98f5434b (diff) | |
[1.9.x] Refs #24971, #25356 -- Clarified how apps.py works in 1.9 release notes.
Backport of 6258e163352690faf20bfc92c12468316d1a47ae from master
| -rw-r--r-- | docs/ref/applications.txt | 2 | ||||
| -rw-r--r-- | docs/releases/1.9.txt | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/ref/applications.txt b/docs/ref/applications.txt index 498e10c954..4184398fbb 100644 --- a/docs/ref/applications.txt +++ b/docs/ref/applications.txt @@ -41,6 +41,8 @@ interact with installed applications, mainly for configuration and also for introspection. That's why the application registry maintains metadata in an :class:`~django.apps.AppConfig` instance for each installed application. +.. _configuring-applications-ref: + Configuring applications ======================== diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index d601e36fd4..eda6cf1a80 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -428,7 +428,11 @@ Management Commands * The :djadmin:`createcachetable` command now has a ``--dry-run`` flag to print out the SQL rather than execute it. -* The :djadmin:`startapp` command creates an ``apps.py`` file. +* The :djadmin:`startapp` command creates an ``apps.py`` file. Since it doesn't + use ``default_app_config`` (:ref:`a discouraged API + <configuring-applications-ref>`), you must specify the app config's path, + e.g. ``'polls.apps.PollsConfig'``, in :setting:`INSTALLED_APPS` for it to be + used (instead of just ``'polls'``). * When using the PostgreSQL backend, the :djadmin:`dbshell` command can connect to the database using the password from your settings file (instead of |
