fnp
/
django-ssify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unescape var values in render middleware.
[django-ssify.git]
/
tests
/
templates
/
tests_args
/
args.html
diff --git
a/tests/templates/tests_args/args.html
b/tests/templates/tests_args/args.html
index
253fcde
..
1f8b0a1
100644
(file)
--- a/
tests/templates/tests_args/args.html
+++ b/
tests/templates/tests_args/args.html
@@
-1,10
+1,5
@@
{% load ssify test_tags %}
{% load ssify test_tags %}
-{# Django 1.4 compatibility: TemplateView sets `params` from the URL. #}
-{% if params.limit %}
- {% random_number limit=params.limit as a %}
-{% else %}
- {% random_number limit=limit as a %}
-{% endif %}
+{% random_number limit=limit as a %}
{% random_number a as b %}
{% random_number limit=b %}
\ No newline at end of file
{% random_number a as b %}
{% random_number limit=b %}
\ No newline at end of file