mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-05 23:50:59 +00:00
Developer settings were always imported whenever any portion of the project template settings package itself was imported. Using production settings would result in __init__.py importing the dev settings first, *then* overriding those with the production settings. This lead to somewhat counter-intuitive behaviour - dev settings that weren't explicitly set again in production would tag along to prod. To fix this, the project template settings package no longer imports dev, and settings.dev is explicitly used in both manage.py and wsgi.py. |
||
|---|---|---|
| .. | ||
| api | ||
| bin | ||
| contrib | ||
| project_template | ||
| tests | ||
| utils | ||
| wagtailadmin | ||
| wagtailcore | ||
| wagtaildocs | ||
| wagtailembeds | ||
| wagtailforms | ||
| wagtailimages | ||
| wagtailredirects | ||
| wagtailsearch | ||
| wagtailsites | ||
| wagtailsnippets | ||
| wagtailusers | ||
| __init__.py | ||