6 lines
132 B
Python
6 lines
132 B
Python
|
|
from django.forms import widgets
|
||
|
|
|
||
|
|
|
||
|
|
class SwitchInput(widgets.CheckboxInput):
|
||
|
|
template_name = "wagtailadmin/widgets/switch.html"
|