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.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c88481da4bf213a1c5721020bb0e18c344f6151df93d54c40283478586b97fb7 |
|
MD5 | 8f8c0c21a9652c02014281368b4e1f91 |
|
BLAKE2b-256 | 15a66270c6edaa7b33d0d536907ee59d5ad00b914194043815a53a35e73720eb |