from django import forms class DummyFilterInput(forms.HiddenInput): """ A dummy input widget Does not render anything. Can be used to keep filter logic using django_filter without having a pre defined filter widget being rendered to the template. """ template_name = "konova/custom_widgets/dummy-filter-input.html" class TextToClipboardInput(forms.TextInput): template_name = "konova/custom_widgets/text-to-clipboard-input.html"