Skip to main content

Custom settings loader for standalone django apps

Project description

Django Custom Settings


* What does this do?

> Register your custom standalone app settings into Django conf, so they can be overrided by users of your standalone app.

* How does it work?

> Create a in your app. Make sure your settings are all caps.
> In your init file for you app, add a call to django-custom-settings and you're done.

# Full Example

from custom_settings.loader import load_settings


myapp_settings_that_wont_be_loaded = "will not be available, because it's not all uppercase"

# usage, on, for example
from django.conf import settings

def home(request):

if settings.MYAPP_SETTINGS_FOO == "foo":
return "this is a foo"
return "this is not a foo"


## 0.1.0 (2016-02-01)

* First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-custom-settings-0.1.4.tar.gz (5.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page