cheluis / Django-genericdropdown

A simple dropdown the make the hassle of picking to the right object when using generic relations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Genericdropdown is a small little nifty script that removes the obstacle of picking the right object when using generic relations in Django. The script replaces the input field for the object id with a dropdown instead.

Howto use

Just add the url to your url config and you should be fine, and add a line to your template directory setting as well

url(r'^', include('genericdropdown.urls')),

TEMPLATE_DIRS = (
   'templates/',
   'genericdropdown/templates'

)

About

A simple dropdown the make the hassle of picking to the right object when using generic relations

License:Other


Languages

Language:Python 57.8%Language:HTML 42.2%