Skip to content

Commit a66bebe

Browse files
author
Frankie Robertson
committed
Add documentation about using AppConfigs in INSTALLED_APPS and defaults.py
1 parent ddb43ec commit a66bebe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/configuration.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ page, we would define the following in ``authors.defaults``::
4949
default=10,
5050
)
5151

52+
.. note::
53+
54+
If you are using Django 1.7 or greater and your app is included in your
55+
INSTALLED_APPS as an AppConfig (eg authors.apps.MyCrazyConfig), Mezzanine
56+
won't import your defaults.py automatically. Instead you must import it
57+
manually in your AppConfig's ready() method.
58+
5259
Reading Settings
5360
================
5461

0 commit comments

Comments
 (0)