Opened 19 years ago
Last modified 18 years ago
#626 closed enhancement
Move template modules to django.core.template package — at Version 2
Reported by: | Adrian Holovaty | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Core (Other) | Version: | 1.0 |
Severity: | minor | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
There are too many template-related modules lying around in django.core
. We should create a django.core.template
package and put the following modules in it:
django.core.defaultfilters
django.core.defaulttags
django.core.template
(would bedjango.core.template.__init__
to retain identical interface)django.core.template_loader
django.core.template_file
To maintain backwards compatibility, django.core.template_loader should still exist (at least until 1.0), because a lot of Django code does from django.core.template_loader import ...
.
We should probably do this before #582 and #625, because those tickets both add template-related modules to django.core.
Change History (3)
comment:1 by , 19 years ago
Status: | new → assigned |
---|
comment:2 by , 19 years ago
Description: | modified (diff) |
---|
by , 19 years ago
Attachment: | 626_import_error.patch added |
---|
Patch that causes circular-import problem.
(Changed formatting in description.)