git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-tweaked page add form to preserve 'continue on normal save' functionality. This...
[philo.git]
/
admin
/
widgets.py
diff --git
a/admin/widgets.py
b/admin/widgets.py
index
a1f5bae
..
f8799fe
100644
(file)
--- a/
admin/widgets.py
+++ b/
admin/widgets.py
@@
-1,5
+1,9
@@
from django import forms
from django.conf import settings
from django import forms
from django.conf import settings
+from django.utils.translation import ugettext as _
+from django.utils.safestring import mark_safe
+from django.utils.text import truncate_words
+from django.utils.html import escape
class ModelLookupWidget(forms.TextInput):
class ModelLookupWidget(forms.TextInput):