#7741: move django.newforms to django.forms
--------------------------------------+-------------------------------------
Reporter: gwilson | Owner: gwilson
Status: reopened | Milestone: 1.0 alpha
Component: django.newforms | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by Mads Sülau Jørgensen <[EMAIL PROTECTED]>):
* status: closed => reopened
* resolution: fixed =>
Comment:
Something went wrong with the move I think, it is not possible to access
submodules of the {{{django.newforms}}} module with specific imports, such
as {{{from django.newforms.widgets import TextInput}}}. Altough {{{from
django.newforms import widgets}}} works as expected.
{{{
#!python
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from django.newforms.widgets import TextInput
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named widgets
}}}
The correct import of {{{django.forms.widgets}}} works as expected, and
I'd suspect the error to be located in either
[source:django/trunk/django/newforms/[EMAIL PROTECTED] or
[source:django/trunk/django/forms/[EMAIL PROTECTED]
--
Ticket URL: <http://code.djangoproject.com/ticket/7741#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---