2👍
✅
Django settings are project level, so there is no such thing as app settings.
If you are talking about a settings.py file living in app directory A, just:
from A import settings as A_settings
0👍
What you need to do is add your bigger folder to your python path.
$export PYTHONPATH=..:$PYTHONPATH
now you can do
from A import settings as A_settings
from B import settings as B_settings
- [Answered ]-Is there another way to change the error message on a ModelForm for a validate_unique error?
- [Answered ]-Trying to get the errors from a failed Stripe charge
- [Answered ]-Django 1.8 – 'NoneType' object has no attribute 'aggregate'
Source:stackexchange.com