Re-usable views/templatetags/widgets for django applications
Latest commit 723baf0 Mar 1, 2014 @sontek sontek Merge pull request #2 from archen/master
Python 2/3, Django 1.5+, general cleanup
Failed to load latest commit information.
tekextensions PEP 8 updates Mar 1, 2014
.gitignore added ignore line for PyCharm workspace Mar 1, 2014
README.markdown fixed spacing in README Oct 26, 2010
requirements.txt started to refactor so its more re-usable Nov 24, 2010


admin popups

if using grappeli, copy RelatedObjectLookups.js to your admin_media folder from django's admin media


url(r'^add/(?P<model_name>\w+)/?$', 'tekextensions.views.add_new_model'),

override any ModelChoiceField widget with SelectWithPopUp

from tekextensions.widgets import SelectWithPopUp
from django import forms

class CustomForm(forms.Form):
    company = forms.ModelChoiceField(CustomModel.objects, widget=SelectWithPopUp)