Metadata-Version: 1.1
Name: django-core
Version: 1.4.1
Summary: A core set of tools for django applications.
Home-page: https://github.com/infoagetech/django-core
Author: Troy Grosfield
Author-email: UNKNOWN
License: MIT
Description-Content-Type: UNKNOWN
Description: [<img src="https://travis-ci.org/InfoAgeTech/django-core.png?branch=master">](http://travis-ci.org/InfoAgeTech/django-core)
        [<img src="https://coveralls.io/repos/InfoAgeTech/django-core/badge.png">](https://coveralls.io/r/InfoAgeTech/django-core)
        [<img src="https://badge.fury.io/py/django-core.png">](http://badge.fury.io/py/django-core)
        [<img src="https://pypip.in/license/django-core/badge.png">](https://github.com/InfoAgeTech/django-core/blob/master/LICENSE)
        
        django-core
        ===========
        django-core is a python tools module written for django.
        
        Intallation
        ===========
        Install via [pypi](https://pypi.python.org/pypi/django-core):
        
            pip install django-core
        
        Documentation
        =============
        - [http://django-core.readthedocs.org](http://django-core.readthedocs.org)
        
        View Mixins
        -----------
        Below are the view mixins within django-core.
        
        ### AuthorizationTokenRequiredViewMixin
        The view mixin that requires an authorization token.
        
        **Example Usage**
        
        ```
        from django.views.generic.base import TemplateView
        from django_core.auth.views import AuthorizationTokenRequiredViewMixin
        
        class MyView(AuthorizationTokenRequiredViewMixin, TemplateView):
            template_name = 'path/to/template.html'
        ```
        
        
        
        Settings
        ========
        1. ``CORE_BASE_HTML_EMAIL_TEMPLATE``: This is the default path to the html template to use for emails.  The template must call the ``{{ email_content }}`` variable as this is the placeholder for the actual email content. This defaults to ``django_core/mail/base_email.html``.
        
        Tests
        =====
        From the ``tests`` directory where the manage.py file is, run:
        
            python manage.py test
        
        Run tests and output test coverage (requires ``coverage`` lib: ``pip install coverage``):
        
            coverage run manage.py test && coverage report --rcfile=../.coveragerc
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
