Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from django import template
- registration = template.Library()
- @registration.simple.tag
- def add(*args):
- print(a, b)
- return int(a)+int(b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement