Skip to main content

Effortless class-based settings for Django.

Project description


pypi-image django-version-image python-version-image license-image code-style-image

django-class-settings aims to simplify complicated settings layouts by using classes instead of modules. Some of the benefits of using classes include:


from class_settings import Settings, env

class MySettings(Settings):
    SECRET_KEY = env()
    DEBUG = env.bool(default=False)
    ROOT_URLCONF = 'myproject.urls'
    WSGI_APPLICATION = 'myproject.wsgi.application'


Install it from PyPI with pip:

pip install django-class-settings


  • Django 1.11+
  • Python 3.4+


Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django_class_settings-0.1.2-py3-none-any.whl (16.6 kB) Copy SHA256 hash SHA256 Wheel py3
django-class-settings-0.1.2.tar.gz (6.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page