In total, there are 2 users online ::
(Based on users active over the past 5 minutes)
____________________________________This is just a nice random number!
..
5 lines (5 loc) • 139.0 B
1 2 3 4 5 6
from django import template register = template.Library() @register.filter(name='times') def times(number): return range(1, number+1)