Skip to main content

A simple Django app to store/access project wide persistent settings.

Project description

# FastSettings

Keywords:django, redis, database, settings, fastsettings

Django FastSettings stores settings in the database and syncs it to redis, so that access is “fast”. This will work without redis, it will simply fetch from the database each time.

## Quick start

  • pip install django-fastsettings

  • Add “fastsettings” to your INSTALLED_APPS setting like this:

  • Add the Redis connection settings to the django file

    ` python # PROJECT SETTINGS (used in fastsettings) REDIS_HOST = 'localhost' REDIS_PORT = 6379 REDIS_DB = 0 REDIS_PASSWORD = "your_redis_password" `

  • For logging, add a handler for “fastsettings_logger” in your logging configuration:

  • Run python migrate to create the fastsettings models.

  • Start the development server and visit <> to create a fastsetting (you’ll need the Admin app enabled).

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-fastsettings-0.5.tar.gz (5.7 kB view hashes)

Uploaded source

Built Distribution

django_fastsettings-0.5-py3-none-any.whl (8.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page