﻿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
13302	fatal lock up on compile of template with {% url ... %}	crucialfelix@…	nobody	"{{{

# this url pattern is valid:
from django.core.urlresolvers import reverse
print reverse('add_to_collection',kwargs={'model':'someklass','collection_id':1})
# '/collections/add_to/someklass/1'

# url(r'^add_to/(?P<model>[0-9A-Za-z]+)/(?P<collection_id>\d+)$',
#     view = 'collectionz.views.add_to_collection',
#     name = ""add_to_collection""
# ),

# given a template that can be reduced to just that url:
# {% url add_to_collection model=collection.model_class,collection_id=collection.id %}

# merely loading/compiling this template causes the process to lock up with 99% CPU, must be KILLed
path = ""collectionz/manage_collection_search_results.html""


from django.template import loader

loader.get_template(path)

}}}

django-trunk@12937

using 12811 it behaves normally

when I get a chance I will bisect and find the specific change and look into it more.
"		closed	Template system	1.2-beta		duplicate		crucialfelix@…	Unreviewed	0	0	0	0	0	0
