mirror of
https://github.com/nanoy42/coope
synced 2024-09-17 12:13:08 +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)
|