1
0
mirror of https://github.com/django/django.git synced 2025-10-27 07:36:08 +00:00

Moved smart_unicode and StrAndUnicode to django.utils.encoding. They are useful

outside of newforms. This is backwards compatible as far as smart_unicode goes
(since newforms.util still imports it). All imports of smart_unicode and
StrAndUnicode have also been updated.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick
2007-04-04 06:34:19 +00:00
parent f791a598a8
commit 1bddac37b6
10 changed files with 41 additions and 40 deletions

View File

@@ -3,7 +3,8 @@ Field classes
"""
from django.utils.translation import gettext
from util import ErrorList, ValidationError, smart_unicode
from django.utils.encoding import smart_unicode
from util import ErrorList, ValidationError
from widgets import TextInput, PasswordInput, HiddenInput, MultipleHiddenInput, CheckboxInput, Select, NullBooleanSelect, SelectMultiple
import datetime
import re