In total, there is 1 user online ::
(Based on users active over the past 5 minutes)
____________________________________This is just a nice random number!
..
8 lines (6 loc) • 235.0 B
1 2 3 4 5 6 7 8
from django import template register = template.Library() @register.filter(name='replace') # Takes two arguments: the string to be replaced and the string to replace it with def replace(value, arg): return value.replace(arg, '')