#11013: Named imports in urls
------------------------------------+---------------------------------------
Reporter: gruszczy | Owner: nobody
Status: reopened | Milestone:
Component: Uncategorized | Version: 1.1-beta-1
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by gruszczy):
* status: closed => reopened
* resolution: invalid =>
* component: Testing framework => Uncategorized
* summary: Better diagnostics information while testing => Named imports
in urls
Comment:
Indeed, I screwed. I removed * from import in urls.py, because using all
on import is not recommended - but I had no idea, that Django is going to
use some other objects from this import (they are not mentioned anywhere
in the file).
I believe, that all imports there should be named, so the user knows, that
there are some required objects imported.
--
Ticket URL: <http://code.djangoproject.com/ticket/11013#comment:2>
Django <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
-~----------~----~----~----~------~----~------~--~---