From bf382c2dc051c451711c65b1967aecc65ede74e5 Mon Sep 17 00:00:00 2001 From: melinath Date: Tue, 29 Jun 2010 10:15:12 -0400 Subject: [PATCH 1/1] Added admin imports --- admin/widgets.py | 4 ++++ 1 file changed, 4 insertions(+) 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): -- 2.20.1