Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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

Project description

=====
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.

Install
-----------

pip install django-fastsettings


Quick start
-----------

1. Add "fastsettings" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = [
...
'fastsettings',
]

2. Add the Redis connection settings to the django settings.py file
# PROJECT SETTINGS (used in fastsettings) #
REDIS_HOST = 'localhost'
REDIS_PORT = 6379
REDIS_DB = 0
REDIS_PASSWORD = "your_redis_password"

3. For logging, add a handler for "fastsettings_logger" in your logging configuration::

4. Run `python manage.py migrate` to create the fastsettings models.

5. Start the development server and visit http://127.0.0.1:8000/admin/
to create a fastsettings (you'll need the Admin app enabled).

Project details


Release history Release notifications

This version
History Node

0.3

History Node

0.2

History Node

0.1

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-fastsettings-0.3.tar.gz (4.4 kB) Copy SHA256 hash SHA256 Source None Jun 15, 2016

Supported by

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