[Answered ]-How to access settings variable from different project in the same folder in django

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

Leave a comment