Skip to content

Commit

Permalink
Add documentation about using AppConfigs in INSTALLED_APPS and defaul…
Browse files Browse the repository at this point in the history
…ts.py
  • Loading branch information
frankier committed Mar 5, 2015
1 parent ddb43ec commit a66bebe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/configuration.rst
Expand Up @@ -49,6 +49,13 @@ page, we would define the following in ``authors.defaults``::
default=10,
)

.. note::

If you are using Django 1.7 or greater and your app is included in your
INSTALLED_APPS as an AppConfig (eg authors.apps.MyCrazyConfig), Mezzanine
won't import your defaults.py automatically. Instead you must import it
manually in your AppConfig's ready() method.

Reading Settings
================

Expand Down

0 comments on commit a66bebe

Please sign in to comment.