Load configs from python modules or Django applications.
Project description
Load configs from python modules or Django applications.
Installation
pip install python-app-loader
Usage
Your settings.py
from app_loader import app_loader
APPS = ['testapp']
# load directly specified apps
app_loader.get_app_modules(APPS)
# load all modules
app_loader.load_modules()
# just propagate all loaded modules to settings
INSTALLED_APPS = app_loader.config.apps
# override all
try:
from local_settings import *
except ImportError:
pass
Read More
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-app-loader-0.0.1.tar.gz
(17.3 kB
view hashes)