mirror of
https://github.com/jazzband/django-configurations.git
synced 2026-05-28 08:48:20 +00:00
Correct documentation about mixin usage
`Configuration` class needs to be last in the inheritance list, otherwise it's not possible to override Django's default settings. Tests are already correct, just the documentation is wrong.
This commit is contained in:
parent
7af6d9e7c5
commit
d97afc163a
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ a ``Configuration`` class::
|
|||
|
||||
from configurations import Configuration
|
||||
|
||||
class Prod(Configuration, FullPageCaching):
|
||||
class Prod(FullPageCaching, Configuration):
|
||||
DEBUG = False
|
||||
# ...
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue