Backport of Django 1.9 auth mixins.
Project description
# Django Auth Mixins
Backport of Django 1.9 [auth mixins](https://github.com/django/django/blob/1.9.4/django/contrib/auth/mixins.py) for Django 1.8.x LTS:
LoginRequiredMixin
PermissionRequiredMixin
UserPassesTestMixin
## Usage
from auth_mixins import LoginRequiredMixin, PermissionRequiredMixin, UserPassesTestMixin
## Docs
https://docs.djangoproject.com/en/1.9/topics/auth/default/#the-loginrequired-mixin
https://docs.djangoproject.com/en/1.9/topics/auth/default/#the-permissionrequiredmixin-mixin
## License
Like Django, see LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_auth_mixins-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18b859a58274b7352d7a79816d06ac3b8325a2337c152c5ce1ebc9517d595cf9 |
|
MD5 | 8bd9b707c81ce88b44515c9c9291e878 |
|
BLAKE2b-256 | 3cb6742f36621fe8bd64c08370152beaf9288af4c95612e6f3dcb845e6148234 |