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
0dbe0d2b
Commit
0dbe0d2b
authored
Jan 16, 2015
by
Mindiell
Browse files
Description of Campaigns needs more space
parent
605c90b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
picampaign/campaign/migrations/0002_auto_20150116_1546.py
0 → 100644
View file @
0dbe0d2b
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'campaign'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'campaign'
,
name
=
'description'
,
field
=
models
.
TextField
(
null
=
True
),
preserve_default
=
True
,
),
]
picampaign/campaign/models.py
View file @
0dbe0d2b
...
@@ -13,7 +13,7 @@ class Campaign(models.Model):
...
@@ -13,7 +13,7 @@ class Campaign(models.Model):
"""Campaign model, describe what have to be achieved"""
"""Campaign model, describe what have to be achieved"""
id
=
models
.
AutoField
(
primary_key
=
True
)
id
=
models
.
AutoField
(
primary_key
=
True
)
title
=
models
.
CharField
(
max_length
=
255
)
title
=
models
.
CharField
(
max_length
=
255
)
description
=
models
.
Char
Field
(
max_length
=
512
,
blank
=
True
)
description
=
models
.
Text
Field
(
null
=
True
)
organization
=
models
.
ForeignKey
(
Organization
,
related_name
=
'campaigns'
)
organization
=
models
.
ForeignKey
(
Organization
,
related_name
=
'campaigns'
)
start_date
=
models
.
DateField
()
start_date
=
models
.
DateField
()
end_date
=
models
.
DateField
()
end_date
=
models
.
DateField
()
...
...
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