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
Political Memory
memopol
Commits
4ecd390c
Commit
4ecd390c
authored
Jul 21, 2015
by
Arnaud Fabre
Browse files
fix positions migrations
parent
c05df265
Changes
3
Hide whitespace changes
Inline
Side-by-side
positions/migrations/0001_initial.py
View file @
4ecd390c
...
...
@@ -8,7 +8,7 @@ class Migration(migrations.Migration):
dependencies
=
[
(
'votes'
,
'0003_auto_20150709_1601'
),
(
'
representatives'
,
'0004_auto_20150709_1601
'
),
(
'
legislature'
,
'0002_memopolrepresentative_main_mandate
'
),
]
operations
=
[
...
...
@@ -16,12 +16,12 @@ class Migration(migrations.Migration):
name
=
'Position'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'datetime'
,
models
.
Date
Time
Field
()),
(
'datetime'
,
models
.
DateField
()),
(
'text'
,
models
.
TextField
()),
(
'link'
,
models
.
URLField
()),
(
'published'
,
models
.
BooleanField
(
default
=
False
)),
(
'dossier'
,
models
.
ForeignKey
(
to
=
'votes.MemopolDossier'
,
null
=
True
)),
(
'representative'
,
models
.
ForeignKey
(
related_name
=
'positions'
,
to
=
'
representatives.
Representative'
)),
(
'dossier'
,
models
.
ForeignKey
(
blank
=
True
,
to
=
'votes.MemopolDossier'
,
null
=
True
)),
(
'representative'
,
models
.
ForeignKey
(
related_name
=
'positions'
,
to
=
'
legislature.Memopol
Representative'
)),
],
),
]
positions/migrations/0002_auto_20150720_1217.py
deleted
100644 → 0
View file @
c05df265
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'positions'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'position'
,
name
=
'datetime'
,
field
=
models
.
DateField
(),
),
migrations
.
AlterField
(
model_name
=
'position'
,
name
=
'representative'
,
field
=
models
.
ForeignKey
(
related_name
=
'positions'
,
to
=
'legislature.MemopolRepresentative'
),
),
]
positions/migrations/0003_auto_20150720_1219.py
deleted
100644 → 0
View file @
c05df265
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'positions'
,
'0002_auto_20150720_1217'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'position'
,
name
=
'dossier'
,
field
=
models
.
ForeignKey
(
blank
=
True
,
to
=
'votes.MemopolDossier'
,
null
=
True
),
),
]
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