Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AE
Sith
Commits
d79416f8
Commit
d79416f8
authored
May 11, 2017
by
Krophil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix date format in Trombi model
parent
47a96829
Pipeline
#971
passed with stage
in 4 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
trombi/models.py
trombi/models.py
+2
-2
No files found.
trombi/models.py
View file @
d79416f8
...
...
@@ -50,11 +50,11 @@ class Trombi(models.Model):
its Trombi.
"""
subscription_deadline
=
models
.
DateField
(
_
(
'subscription deadline'
),
default
=
timezone
.
now
,
help_text
=
_
(
"Before this date, users are "
default
=
date
.
today
,
help_text
=
_
(
"Before this date, users are "
"allowed to subscribe to this Trombi. "
"After this date, users subscribed will be allowed to comment on each other."
))
comments_deadline
=
models
.
DateField
(
_
(
'comments deadline'
),
default
=
timezone
.
now
,
help_text
=
_
(
"After this date, users won't be "
default
=
date
.
today
,
help_text
=
_
(
"After this date, users won't be "
"able to make comments anymore."
))
max_chars
=
models
.
IntegerField
(
_
(
'maximum characters'
),
default
=
400
,
help_text
=
_
(
'Maximum number of characters allowed in a comment.'
))
...
...
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