Sometimes with Django you need to include the sites framework because an app requires it, but you don’t really want or need staff to be able to add or delete sites in the admin panel. This app removes the capability to add or remove sites.
This is a very simple bit of functionality but it it useful enough to have an app so as not to have to repeat the process for every new django site.
Installation
Use your favorite method to get it from pypi, for example:
pip install django-sites-lockdown
Then add sites_lockdown to your INSTALLED_APPS.
Release files for Django-Sites-Lockdown 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Django-Sites-Lockdown-0.0.3.tar.gz | 2.7 kB | Details |
Release files / Django-Sites-Lockdown-0.0.3.tar.gz
| Download URL | Django-Sites-Lockdown-0.0.3.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de302eb31e9f01cb02adc46738f2b7a35e6046f6ea25a247916adf76ddec32be
|
|
BLAKE2b-256 checksum How to use checksums |
d07a10f40bd045f6aa20e35eae9f5b66870b0eafa0bcf0336f4979615b99d05e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |