mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-08-10 17:25:02 +00:00
9 lines
132 B
Python
9 lines
132 B
Python
from django import template
|
|
|
|
register = template.Library()
|
|
|
|
@register.filter
|
|
def classname(obj):
|
|
return obj.__class__.__name__
|
|
|