Metadata-Version: 2.1
Name: django-db-settings
Version: 1.0.0
Summary: A Django app to save app settings in DB as classes.
Home-page: https://github.com/oscargdi
Author: Oscar Diaz
Author-email: oscargdi22@gmail.com
License: GNU General Public License v3.0
Description: django-db-settings
        ==================
        
        django-db-settings is a Django app to save your configuration in cacheable DB objects that are easily defined like classes.
        
        Quick start
        -----------
        
        1. Add "settings" to your INSTALLED_APPS setting like this::
        
            INSTALLED_APPS = [
                ...
                'settings',
            ]
        
        2. Include the settings URLconf in your project urls.py like this::
        
            path('settings/', include('settings.urls')),
        
        3. Run ``python manage.py migrate`` to create the settings models.
        
        4. Start the development server and visit http://127.0.0.1:8000/admin/ to setup your app settings (you'll need the Admin app enabled).
        
        5. Visit http://127.0.0.1:8000/settings/?setting=YOUR_SETTING to get the objects related to that specific setting (JSON).
        
        6. Find the REFRESH SETTINGS button with in Value model change list page. This project uses TTL based cache, which can be configured by adding the following setting:
        
            - SETTINGS_CACHE_MAXSIZE: To set the maximum size of total items in the cache. By default set to 100.
            - SETTINGS_CACHE_TTL: To set the Time To Live of the cache items. By default set to 3600 seconds (1 hour).
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: >3
Description-Content-Type: text/x-rst
