Django Fastsettings 0.5 | Coderz Repository

django-fastsettings 0.5

Last updated:

0 purchases

django-fastsettings 0.5 Image
django-fastsettings 0.5 Images

Free

Languages

Categories

Add to Cart

Description:

djangofastsettings 0.5

# FastSettings

Version:
0.5

Download:
<https://pypi.org/project/django-fastsettings>

Source:
<https://github.com/wickeym/django-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:
INSTALLED_APPS = [
...
'fastsettings',
]

Add the Redis connection settings to the django settings.py 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 manage.py migrate to create the fastsettings models.
Start the development server and visit <http://127.0.0.1:8000/admin/> to create a fastsetting (you’ll need the Admin app enabled).

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.