A somewhat usable and tested version.
[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
new file mode 100644 (file)
index 0000000..253fcde
--- /dev/null
@@ -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