Closed agateblue closed 9 years ago
Is the file name actually settings/init.py
? It should be settings/__init__.py
to make it a proper Python package.
(I guess this reply comes a bit late, though :smile:)
Better late than never ! Honestly, I don't remember the context of this, and my code use a totally different approach for settings management now, so I won't be able to provide additional data :/
Hi,
first of all, thank you for this app, it seems great. However, I can't get it to work !
I followed the docs and informations from this blog entry but on every request, I get the following error :
If I remove
admin.site.urls
from my urls.py, i get this :If I understand correctly, my settings are not loaded at all. But :
python manage.py validate
does not raise any error. My settings seems to load, as shown by some print statements i've put in settings filesHere is my folder structure (kii is the name of my project) : kii ├── settings │ ├── components │ │ ├── apps_settings.py │ │ ├── base_settings.py │ │ ├── kii_settings.py │ │ └── locale_settings.py │ ├── dev.py │ ├── init.py
Here is content of init and dev files :
settings/init.py
settings/dev.py
And finally, the whole error stacktrace :
Am I missing something obvious ? Thank you for your time and your help, just tell me if you need more informations.