fnp
/
django-ssify.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
A somewhat usable and tested version.
[django-ssify.git]
/
tests
/
templates
/
tests_args
/
args.html
1
{% load ssify test_tags %}
2
3
{# Django 1.4 compatibility: TemplateView sets `params` from the URL. #}
4
{% if params.limit %}
5
{% random_number limit=params.limit as a %}
6
{% else %}
7
{% random_number limit=limit as a %}
8
{% endif %}
9
{% random_number a as b %}
10
{% random_number limit=b %}