From: melinath Date: Tue, 29 Jun 2010 14:15:12 +0000 (-0400) Subject: Added admin imports X-Git-Tag: philo-0.9~54^2~6 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/bf382c2dc051c451711c65b1967aecc65ede74e5?ds=inline;hp=8ed757abdbd0e015192308b55ca1186e12c55175 Added admin imports --- diff --git a/admin/widgets.py b/admin/widgets.py index a1f5bae..f53c5b7 100644 --- a/admin/widgets.py +++ b/admin/widgets.py @@ -1,5 +1,9 @@ from django import forms from django.conf import settings +from django.utils.translation import ugettext as _ +from django.utils.html import escape +from django.utils.text import truncate_words +from django.utils.safestring import mark_safe class ModelLookupWidget(forms.TextInput):