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.
Metadata
Release files for django-hide-admin 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_hide_admin-1.0.0.tar.gz | 2.8 kB | Without provenance | Details for django_hide_admin-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_hide_admin-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for django_hide_admin-1.0.0-py3-none-any.whl |
Total release size: 6.0 kB
Release files / django_hide_admin-1.0.0.tar.gz
| Download URL | django_hide_admin-1.0.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fed2431d2cd23be31bac1b829f0c7177590f776ae05b1ec47bfea0963e06824f
|
|
BLAKE2b-256 checksum How to use checksums |
dedbc0f1513d0debb075313b0df343f7eaf3fcbf66a8745c36b95fa2801a1d06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.7 Linux/6.0.5-200.fc36.x86_64
|
Release files / django_hide_admin-1.0.0-py3-none-any.whl
| Download URL | django_hide_admin-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01f78119029e18fc4f0164f7be4f79217ca6873e592785de69f9487bd94a7de3
|
|
BLAKE2b-256 checksum How to use checksums |
d7e3ef323605718bf259aa275f66e0f5f3ea637aa25a8bed8fbfdf0b2fa8493c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.7 Linux/6.0.5-200.fc36.x86_64
|
Security for django-hide-admin 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.