This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
nielsperetzke
/
healthchecks
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
32
Wiki
Activity
Browse Source
Limit project name to 60 characters to prevent abuse
pull/411/head
Pēteris Caune
4 years ago
parent
f131123e0e
commit
b63f3bed8e
No known key found for this signature in database
GPG Key ID:
E28D7679E9A9EDE2
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
hc/accounts/forms.py
+1
-0
templates/accounts/project.html
+ 1
- 1
hc/accounts/forms.py
View File
@ -103,7 +103,7 @@ class RemoveTeamMemberForm(forms.Form):
class
ProjectNameForm
(
forms
.
Form
)
:
name
=
forms
.
CharField
(
max_length
=
20
0
,
required
=
True
)
name
=
forms
.
CharField
(
max_length
=
6
0
,
required
=
True
)
class
TransferForm
(
forms
.
Form
)
:
+ 1
- 0
templates/accounts/project.html
View File
@ -403,6 +403,7 @@
class="form-control"
id="project-name"
name="name"
maxlength="60"
value="{{ project }}">
<
/
div
>
<
/
div
>
Write
Preview
Loading…
Cancel
Save