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