﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12248	django.template.__init__ code should move to avoid circular imports	Tom X. Tobin	nobody	We maintain an internal branch of Django over at The Onion (based on the Subversion head), and I've been spending this week in the template system (`django.template`).  Changes there have been tricky, since the module is prone to circular import errors as a result of the core template code living in the `__init__.py` module.  I've refactored the module so that this code now lives in `django.template.base` (similar to how `django.db.models` is arranged); a patch to this effect is attached.  There is no functionality change here, and all existing tests pass.  I ask that this be applied to Django directly as it would make it ''much'' easier to apply upstream changes to our branch, and would make future refactors (by any party, including Django's own developers) easier as a result.		closed	Template system	dev		fixed		tomxtobin@…	Accepted	1	0	0	1	0	0
