Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
campaign
Commits
948e93c1
Commit
948e93c1
authored
Nov 21, 2014
by
Aymeric Barantal
Browse files
Date is enough, no need of time
parent
d543e22e
Changes
1
Hide whitespace changes
Inline
Side-by-side
campaign/campaign/models.py
View file @
948e93c1
...
...
@@ -19,8 +19,8 @@ class Campaign(models.Model):
id
=
models
.
AutoField
(
primary_key
=
True
)
title
=
models
.
CharField
(
max_length
=
255
)
description
=
models
.
CharField
(
max_length
=
512
,
blank
=
True
)
start_date
=
models
.
Date
Time
Field
()
end_date
=
models
.
Date
Time
Field
()
start_date
=
models
.
DateField
()
end_date
=
models
.
DateField
()
default_lang
=
models
.
CharField
(
max_length
=
5
)
def
__unicode__
(
self
):
...
...
Write
Preview
Supports
Markdown
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