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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-auth-mixins-1.0.1.tar.gz.
File metadata
- Download URL: django-auth-mixins-1.0.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4361dc5f56e0c0ba3c7977b659cd1844d63aba66f5ee458937e6f26036571239
|
|
| MD5 |
e5f3f14aa6f056ac5a7bc8a5c04ca6ce
|
|
| BLAKE2b-256 |
6231710388d3cc3629223641e2e681d5dee668dde3f0d471bc2734e8205c4fca
|
File details
Details for the file django_auth_mixins-1.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: django_auth_mixins-1.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18b859a58274b7352d7a79816d06ac3b8325a2337c152c5ce1ebc9517d595cf9
|
|
| MD5 |
8bd9b707c81ce88b44515c9c9291e878
|
|
| BLAKE2b-256 |
3cb6742f36621fe8bd64c08370152beaf9288af4c95612e6f3dcb845e6148234
|