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
File details
Details for the file django-auth-mixins-1.0.0.tar.gz
.
File metadata
- Download URL: django-auth-mixins-1.0.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 399750f5521959151cc6cd337219976c7981dd17364195c85c415a944aa2086b |
|
MD5 | 1cd84e75acd10c80678e573bfd88cc16 |
|
BLAKE2b-256 | e839e47b71d3dfe0312f2d780623849c05b95c3a8ef34a6dcfca27c9c96af5b0 |