You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
458 B
Python
15 lines
458 B
Python
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" |