Custom Search

Friday, February 14, 2014

Django local_settings.py how to add apps in INSTALLED_APPS

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

No comments:

Post a Comment