[<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
Metadata
Release files for django-core 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-core-1.4.1.tar.gz | 37.3 kB | Without provenance | Details for django-core-1.4.1.tar.gz |
Release files / django-core-1.4.1.tar.gz
| Download URL | django-core-1.4.1.tar.gz |
|---|---|
| Size | 37.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34f507dc472f14471a75680977248a9016c9f6e0373e9202a0be4be528e8c886
|
|
BLAKE2b-256 checksum How to use checksums |
3f43d6f322b8d100034655e4fb976c685f664597c8440803f3ea03fd8a1c229e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-core 1.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.