Basic auth utilities for Django.
Project description
Basic auth utilities for Django.
Requires
Tested under…
Python
3.4
Django
1.7
1.8
Installation
pip install django-basicauth
Usage
from basicauth.decorators import basic_auth_required
@basic_auth_required
def myview(request):
...
Settings
BASICAUTH_USERS (required): Dictionary including keys as username and values as passwords.
BASICAUTH_REALM: realm string, default is “Secure resource”.
Changes
0.1 (2015-04-20)
Initial
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
django-basicauth-0.1.tar.gz
(3.2 kB
view hashes)