Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
b63d7963
Commit
b63d7963
authored
Jun 03, 2018
by
David Haynes
🙆
Browse files
Merge branch '150-three-chars' into 'go-three'
Resolve "Allow Shortlinks less than 3 Characters" See merge request
!120
parents
2edec6ef
c08a3aba
Pipeline
#2498
passed with stage
in 1 minute and 26 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
go/go/forms.py
View file @
b63d7963
...
@@ -61,7 +61,7 @@ class URLForm(ModelForm):
...
@@ -61,7 +61,7 @@ class URLForm(ModelForm):
widget
=
TextInput
(),
widget
=
TextInput
(),
validators
=
[
unique_short
],
validators
=
[
unique_short
],
max_length
=
20
,
max_length
=
20
,
min_length
=
3
,
min_length
=
1
,
)
)
# expires -----------------------------------------------------------------
# expires -----------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment