Files

6 lines
132 B
Python
Raw Permalink Normal View History

2024-08-27 20:33:44 +02:00
from django.forms import widgets
class SwitchInput(widgets.CheckboxInput):
template_name = "wagtailadmin/widgets/switch.html"