=========================

Generic Foreign Key is a Django application that allows your Generic Relations have a nice widget in the admin

It is distributed under the terms of the GNU Lesser General Public
License <http://www.gnu.org/licenses/lgpl.html>

=========================

 == Depencies ==

<script src="/media/js/jquery-1.2.6.min.js"></script>

== How to 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', 'message'), ...)


 === In your ModelAdmin ===

Extend your ModelAdmin with GenericAdmin

class MyModelAdmin(GenericAdmin):
    ...

