Hides Django admin from unauthorized users
Project description
django-hide-admin
Hides Django admin from users without staff level access. Anonymous users or users without staff level access will see 404 Not found
error if they try to open the Django admin login page or any other admin pages.
Since the Django admin login page is not available, your project should have a login page for users and staff. Once staff are logged in, they can open /admin/
(by default) to access admin interface.
Installation
pip install django-hide-admin
Usage
Replace django.contrib.admin
with hide_admin.apps.HideAdminConfig
in INSTALLED_APPS
.
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_hide_admin-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01f78119029e18fc4f0164f7be4f79217ca6873e592785de69f9487bd94a7de3 |
|
MD5 | 8c1ac38b77ec529c419f5abe38ba41c4 |
|
BLAKE2b-256 | d7e3ef323605718bf259aa275f66e0f5f3ea637aa25a8bed8fbfdf0b2fa8493c |