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