Django local_settings.py how to extend INSTALLED_APPS
1)
Add following lines in local_settings.py
ADDITIONAL_APPS = ('captcha', 'cities_light')try:
from settings import INSTALLED_APPS
INSTALLED_APPS = ADDITIONAL_APPS + INSTALLED_APPS
except:
pass
1)
Add following lines in local_settings.py
ADDITIONAL_APPS = ('captcha', 'cities_light')try:
from settings import INSTALLED_APPS
INSTALLED_APPS = ADDITIONAL_APPS + INSTALLED_APPS
except:
pass
No comments:
Post a Comment