Middleware for only allowing access to staff members
Project description
================================================================
django-curtains - Middleware for temporarily protecting projects
================================================================
Version |release|
Usage
=====
- Install the module using ``pip install django-curtains``
- Add one of the included middleware to ``MIDDLEWARE``
``curtains.middleware.only_staff``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Only allows access to authenticated staff members.
``curtains.middleware.basic_auth``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Requires basic authorization to access the site.
- `Github <https://github.com/matthiask/django-curtains/>`_
django-curtains - Middleware for temporarily protecting projects
================================================================
Version |release|
Usage
=====
- Install the module using ``pip install django-curtains``
- Add one of the included middleware to ``MIDDLEWARE``
``curtains.middleware.only_staff``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Only allows access to authenticated staff members.
``curtains.middleware.basic_auth``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Requires basic authorization to access the site.
- `Github <https://github.com/matthiask/django-curtains/>`_
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-curtains-0.2.0.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for django_curtains-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b421b12df82a31e45eb4ab19f4ab3d8bbe25d636a3b93607e1ff3a276ab5bbd |
|
MD5 | 7f7024daaaf08b249f21af3e42ab5a1b |
|
BLAKE2b-256 | 98a9ce781b8ebe2b05d99153a6598b898c61f26fa379a8b7cebe3b041b34b92a |