Remove the ability to add or edit sites in Django's admin panel.
Project description
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.
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
File details
Details for the file Django-Sites-Lockdown-0.0.3.tar.gz
.
File metadata
- Download URL: Django-Sites-Lockdown-0.0.3.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de302eb31e9f01cb02adc46738f2b7a35e6046f6ea25a247916adf76ddec32be |
|
MD5 | 23b4beb535bd860dbc09485fb73aa893 |
|
BLAKE2b-256 | d07a10f40bd045f6aa20e35eae9f5b66870b0eafa0bcf0336f4979615b99d05e |