#7741: move django.newforms to django.forms
--------------------------------------+-------------------------------------
Reporter: gwilson | Owner: gwilson
Status: closed | Milestone: 1.0 alpha
Component: django.newforms | Version: SVN
Resolution: fixed | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by Karen Tracey <[EMAIL PROTECTED]>):
* status: reopened => closed
* resolution: => fixed
Comment:
Replying to [comment:3 Mads Sülau Jørgensen <[EMAIL PROTECTED]>]:
> 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.
>
Note the log message immediately above your re-opening states:
"There's a warning upon import of django.newforms itself, but deeper
imports will raise errors."
I believe the way it was done was intentional. Just go ahead and migrate
from importing newforms to importing forms in your code now, it's going to
have to be done eventually.
--
Ticket URL: <http://code.djangoproject.com/ticket/7741#comment:4>
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
-~----------~----~----~----~------~----~------~--~---