mirror of
https://github.com/nanoy42/coope
synced 2024-08-23 18:33:39 +00:00
9 lines
153 B
Python
9 lines
153 B
Python
import random
|
|
|
|
from django import template
|
|
|
|
register = template.Library()
|
|
|
|
@register.simple_tag
|
|
def random_filter(a, b):
|
|
return random.randint(a, b)
|