X-Git-Url: https://git.mdrn.pl/django-ssify.git/blobdiff_plain/196df9e8170262c31790260d4e280b9981b557d1..a7e203754929b2a49b33197811252ba88b3e047e:/tests/templates/tests_args/args.html?ds=sidebyside diff --git a/tests/templates/tests_args/args.html b/tests/templates/tests_args/args.html index 253fcde..1f8b0a1 100644 --- a/tests/templates/tests_args/args.html +++ b/tests/templates/tests_args/args.html @@ -1,10 +1,5 @@ {% 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