mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Added consistent support for double- and single-quote delimiters in templates.
Some template filters and tags understood single-quoted arguments, others didn't. This makes everything consistent. Based on a patch from akaihola. Fixed #7295. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -20,6 +20,7 @@ from django.utils.tzinfo import LocalTimezone
|
||||
|
||||
from unicode import unicode_tests
|
||||
from context import context_tests
|
||||
from parser import filter_parsing, variable_parsing
|
||||
|
||||
try:
|
||||
from loaders import *
|
||||
@@ -31,7 +32,8 @@ import filters
|
||||
# Some other tests we would like to run
|
||||
__test__ = {
|
||||
'unicode': unicode_tests,
|
||||
'context': context_tests
|
||||
'context': context_tests,
|
||||
'filter_parsing': filter_parsing,
|
||||
}
|
||||
|
||||
#################################
|
||||
|
||||
Reference in New Issue
Block a user