kopia lustrzana https://github.com/OpenDroneMap/WebODM
6 wiersze
152 B
Python
6 wiersze
152 B
Python
|
from django import template
|
||
|
register = template.Library()
|
||
|
|
||
|
@register.filter()
|
||
|
def with_class(field, css):
|
||
|
return field.as_widget(attrs={"class":css})
|