mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-09-10 08:13:12 +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__
|
||
|
|