Django application that allows yo yout generic relations have a nice admin widget
Project description
Information
Generic Foreign Key is a Django application that allows your Generic relations have a nice widget in the admin
It is distrubuted under the terms of the GNU Lesser General Public License <http://www.gnu.org/licenses/lgpl.html>
Dependencies
<script src="/media/js/jquery-1.2.6.min.js"></script>
Installation
Install in your base_site.html of django admin
<script src-"/media/js/jquery-1.2.6.min.js"></script>
In your settings.py
Add a setting EXCLUDE_CONTENT_TYPES, with the content types to exclude. This step is not necesary, but advisable
EXCLUDE_CONTENT_TYPES = (('auth', 'group'), ('auth', 'messege'), ...)
In your ModelAdmin
Extend yout ModelAdmin with GenericAdmin
class MyModelAdmin(GenericAdmin): ...
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
Close
Hashes for django-genericforeignkey-0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b761491503f79dc671d3dffaa80bb727cef9144ec9739094d8303a49d93140d |
|
MD5 | 899995440e530acccd07f5e2f58fe401 |
|
BLAKE2b-256 | 2523e17bb4dae3d2116ad8f87e14781f9824326cf1efd27354ba9705123869f3 |