Skip to content
Snippets Groups Projects
Commit 99cce0d5 authored by Julian's avatar Julian
Browse files

Fix typing

parent 14b1e09a
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ from django.forms.widgets import Widget, MultiWidget, TextInput ...@@ -6,7 +6,7 @@ from django.forms.widgets import Widget, MultiWidget, TextInput
class SplitInput(MultiWidget): class SplitInput(MultiWidget):
template_name = 'django_split_input/widget.html' template_name = 'django_split_input/widget.html'
def __init__(self, sizes: Sequence[int, ...], attrs: Optional[dict] = None, def __init__(self, sizes: Sequence[int], attrs: Optional[dict] = None,
input_widget: Optional[Type[Widget]] = None): input_widget: Optional[Type[Widget]] = None):
""" """
A widget that renders any type of input into multiple HTML input elements. A widget that renders any type of input into multiple HTML input elements.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment