Opened 19 years ago
Last modified 18 years ago
#626 closed enhancement
Move template modules to django.core.template package — at Initial Version
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
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 be django.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.
Note:
See TracTickets
for help on using tickets.