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
rpteam
Revue de Press
Commits
efc05f16
Commit
efc05f16
authored
Apr 24, 2017
by
cynddl
Browse files
Add missing migrations
parent
0655a721
Changes
3
Hide whitespace changes
Inline
Side-by-side
apps/rp/migrations/0008_auto_20170423_1556.py
0 → 100644
View file @
efc05f16
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-23 15:56
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rp'
,
'0007_article_website'
),
]
operations
=
[
migrations
.
AlterModelOptions
(
name
=
'article'
,
options
=
{
'permissions'
:
((
'can_change_status'
,
'Can change article status'
),
(
'can_change_priority'
,
'Can change article priority'
),
(
'can_vote'
,
'Can vote articles'
)),
'verbose_name'
:
'Article'
,
'verbose_name_plural'
:
'Articles'
},
),
migrations
.
AddField
(
model_name
=
'article'
,
name
=
'priority'
,
field
=
models
.
BooleanField
(
default
=
False
),
),
migrations
.
AlterField
(
model_name
=
'article'
,
name
=
'status'
,
field
=
models
.
CharField
(
choices
=
[(
'PENDING'
,
'Pending'
),
(
'PUBLISHED'
,
'Published'
),
(
'REJECTED'
,
'Rejected'
)],
default
=
'PENDING'
,
max_length
=
20
,
verbose_name
=
'Status'
),
),
]
apps/rp/migrations/0009_auto_20170423_1611.py
0 → 100644
View file @
efc05f16
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-23 16:11
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rp'
,
'0008_auto_20170423_1556'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'article'
,
name
=
'und_score_down'
,
field
=
models
.
IntegerField
(
default
=
0
),
),
migrations
.
AddField
(
model_name
=
'article'
,
name
=
'und_score_up'
,
field
=
models
.
IntegerField
(
default
=
0
),
),
]
apps/rp/migrations/0010_merge_20170424_1056.py
0 → 100644
View file @
efc05f16
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-04-24 10:56
from
__future__
import
unicode_literals
from
django.db
import
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'rp'
,
'0009_auto_20170423_1611'
),
(
'rp'
,
'0009_auto_20170423_1633'
),
]
operations
=
[
]
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