#12248: django.template.__init__ code should move to avoid circular imports
--------------------------------------+-------------------------------------
Reporter: korpios | Owner: nobody
Status: new | Milestone: 1.2
Component: Template system | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
--------------------------------------+-------------------------------------
Changes (by russellm):
* needs_better_patch: => 1
* needs_docs: => 0
* stage: Unreviewed => Accepted
* needs_tests: => 0
* milestone: => 1.2
Comment:
Patch needs to be updated following recent updates to the template system.
Secondly, we need to be careful about backwards compatibility here. From
inspection, it appears that the current patch is just "mp __init__.py
base.py", plus creating a new __init__.py that has "from base import *",
which seems fine - but the patch also includes a bunch of changes to
import usage (changing from django.template import X to from
django.template.base import X). I appreciate that these changes are
appropriate updates to to use the new locations, but are the otherwise
necessary? I just want to make sure I'm not missing a subtle import case
that might not be transparent to the change.
--
Ticket URL: <http://code.djangoproject.com/ticket/12248#comment:1>
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.