Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
django-split-input
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julian
django-split-input
Commits
14b1e09a
Commit
14b1e09a
authored
4 years ago
by
Julian
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
90195f21
1c2c9f33
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
django_split_input/widgets.py
+2
-2
2 additions, 2 deletions
django_split_input/widgets.py
example/package.json
+1
-1
1 addition, 1 deletion
example/package.json
example/yarn.lock
+1
-1
1 addition, 1 deletion
example/yarn.lock
renovate.json
+6
-0
6 additions, 0 deletions
renovate.json
with
10 additions
and
4 deletions
django_split_input/widgets.py
+
2
−
2
View file @
14b1e09a
from
typing
import
Optional
,
Tupl
e
,
Type
from
typing
import
Optional
,
Sequenc
e
,
Type
from
django.forms.widgets
import
Widget
,
MultiWidget
,
TextInput
...
...
@@ -6,7 +6,7 @@ from django.forms.widgets import Widget, MultiWidget, TextInput
class
SplitInput
(
MultiWidget
):
template_name
=
'
django_split_input/widget.html
'
def
__init__
(
self
,
sizes
:
Tupl
e
[
int
,
...],
attrs
:
Optional
[
dict
]
=
None
,
def
__init__
(
self
,
sizes
:
Sequenc
e
[
int
,
...],
attrs
:
Optional
[
dict
]
=
None
,
input_widget
:
Optional
[
Type
[
Widget
]]
=
None
):
"""
A widget that renders any type of input into multiple HTML input elements.
...
...
This diff is collapsed.
Click to expand it.
example/package.json
+
1
−
1
View file @
14b1e09a
{
"dependencies"
:
{
"jquery"
:
"
^
3.5.1"
"jquery"
:
"3.5.1"
}
}
This diff is collapsed.
Click to expand it.
example/yarn.lock
+
1
−
1
View file @
14b1e09a
...
...
@@ -2,7 +2,7 @@
# yarn lockfile v1
jquery@
^
3.5.1:
jquery@3.5.1:
version "3.5.1"
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.5.1.tgz#d7b4d08e1bfdb86ad2f1a3d039ea17304717abb5"
integrity sha512-XwIBPqcMn57FxfT+Go5pzySnm4KWkT1Tv7gjrpT1srtf8Weynl6R273VJ5GjkRb51IzMp5nbaPjJXMWeju2MKg==
This diff is collapsed.
Click to expand it.
renovate.json
0 → 100644
+
6
−
0
View file @
14b1e09a
{
"$schema"
:
"https://docs.renovatebot.com/renovate-schema.json"
,
"extends"
:
[
"config:base"
]
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment