Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
course-discovery
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
course-discovery
Commits
8ba4752e
Commit
8ba4752e
authored
Mar 23, 2017
by
Waheed Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added marketing_reviewed flag.
ECOM-7568
parent
afbf3e61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
course_discovery/apps/publisher/migrations/0044_auto_20170323_0749.py
+25
-0
course_discovery/apps/publisher/models.py
+1
-0
No files found.
course_discovery/apps/publisher/migrations/0044_auto_20170323_0749.py
0 → 100644
View file @
8ba4752e
# -*- coding: utf-8 -*-
# Generated by Django 1.9.12 on 2017-03-23 07:49
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'publisher'
,
'0043_auto_20170321_1239'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'coursestate'
,
name
=
'marketing_reviewed'
,
field
=
models
.
BooleanField
(
default
=
False
),
),
migrations
.
AddField
(
model_name
=
'historicalcoursestate'
,
name
=
'marketing_reviewed'
,
field
=
models
.
BooleanField
(
default
=
False
),
),
]
course_discovery/apps/publisher/models.py
View file @
8ba4752e
...
@@ -475,6 +475,7 @@ class CourseState(TimeStampedModel, ChangedByMixin):
...
@@ -475,6 +475,7 @@ class CourseState(TimeStampedModel, ChangedByMixin):
owner_role
=
models
.
CharField
(
max_length
=
63
,
choices
=
PublisherUserRole
.
choices
)
owner_role
=
models
.
CharField
(
max_length
=
63
,
choices
=
PublisherUserRole
.
choices
)
course
=
models
.
OneToOneField
(
Course
,
related_name
=
'course_state'
)
course
=
models
.
OneToOneField
(
Course
,
related_name
=
'course_state'
)
owner_role_modified
=
models
.
DateTimeField
(
auto_now_add
=
True
,
null
=
True
,
blank
=
True
)
owner_role_modified
=
models
.
DateTimeField
(
auto_now_add
=
True
,
null
=
True
,
blank
=
True
)
marketing_reviewed
=
models
.
BooleanField
(
default
=
False
)
history
=
HistoricalRecords
()
history
=
HistoricalRecords
()
...
...
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