X-Git-Url: https://git.mdrn.pl/django-ssify.git/blobdiff_plain/3d2c8ba4dfb4774daff367dae1656099eb2b562c..196df9e8170262c31790260d4e280b9981b557d1:/tests/templates/tests_args/args.html diff --git a/tests/templates/tests_args/args.html b/tests/templates/tests_args/args.html new file mode 100644 index 0000000..253fcde --- /dev/null +++ b/tests/templates/tests_args/args.html @@ -0,0 +1,10 @@ +{% 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 a as b %} +{% random_number limit=b %} \ No newline at end of file