mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #7741: django.newforms is now django.forms. This is obviously a backwards-incompatible change. There's a warning upon import of django.newforms itself, but deeper imports will raise errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
# coding: utf-8
|
||||
"""
|
||||
Tests for newforms/util.py module.
|
||||
Tests for forms/util.py module.
|
||||
"""
|
||||
|
||||
tests = r"""
|
||||
>>> from django.newforms.util import *
|
||||
>>> from django.forms.util import *
|
||||
>>> from django.utils.translation import ugettext_lazy
|
||||
|
||||
###########
|
||||
# flatatt #
|
||||
###########
|
||||
|
||||
>>> from django.newforms.util import flatatt
|
||||
>>> from django.forms.util import flatatt
|
||||
>>> flatatt({'id': "header"})
|
||||
u' id="header"'
|
||||
>>> flatatt({'class': "news", 'title': "Read this"})
|
||||
|
||||
Reference in New Issue
Block a user