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
Close
Hashes for python-app-loader-1.0.0a0.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9db0d8cdf2b64d747108dc7491d5ff0de4a46d7b2de7f10fa2eebec8abc041d7 |
|
MD5 | 52915a9f6606d49a93af9a939b239828 |
|
BLAKE2b-256 | 573ef64313163ec8832ac25069dd711e21f3bc00467b28515698d23fa6192a5f |