Metadata-Version: 1.1
Name: django-custom-settings
Version: 0.1.4
Summary: Custom settings loader for standalone django apps
Home-page: https://sigmageosistemas.com.br/dev/django-custom-settings
Author: Sigma Geosistemas LTDA
Author-email: atendimento@sigmageosistemas.com.br
License: MIT
Description-Content-Type: UNKNOWN
Description: Django Custom Settings
        ======================
        
        # FAQ
        
        * What does this do?
        
        > Register your custom standalone app settings into Django conf, so they can be overrided by users of your standalone app.
        
        * How does it work?
        
        > Create a settings.py in your app. Make sure your settings are all caps.
        > In your init file for you app, add a call to django-custom-settings and you're done.
        
        # Full Example
        
        ```python
        # __init__.py
        from custom_settings.loader import load_settings
        load_settings(__name__)
        ```
        
        ```python
        # settings.py
        MYAPP_SETTINGS_FOO = "foo"
        MYAPP_SETTINGS_BAR = "bar"
        
        myapp_settings_that_wont_be_loaded = "will not be available, because it's not all uppercase"
        ```
        
        ```python
        # usage, on views.py, for example
        from django.conf import settings
        
        def home(request):
            
            if settings.MYAPP_SETTINGS_FOO == "foo":
                return "this is a foo"
            else:
                return "this is not a foo"
        ```
        
        History
        =======
        
        ## 0.1.0 (2016-02-01)
        
        * First release on PyPI.
        
Keywords: django-custom-settings
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
