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
07eae294
Commit
07eae294
authored
Nov 03, 2016
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Squashed migrations for the catalogs app
ECOM-6269
parent
5ff0968d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
course_discovery/apps/catalogs/migrations/0001_squashed_0002_auto_20160327_2101.py
+37
-0
No files found.
course_discovery/apps/catalogs/migrations/0001_squashed_0002_auto_20160327_2101.py
0 → 100644
View file @
07eae294
# -*- coding: utf-8 -*-
# Generated by Django 1.9.10 on 2016-11-03 22:01
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
import
django_extensions.db.fields
class
Migration
(
migrations
.
Migration
):
replaces
=
[(
'catalogs'
,
'0001_initial'
),
(
'catalogs'
,
'0002_auto_20160327_2101'
)]
initial
=
True
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Catalog'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
auto_created
=
True
,
primary_key
=
True
,
serialize
=
False
,
verbose_name
=
'ID'
)),
(
'created'
,
django_extensions
.
db
.
fields
.
CreationDateTimeField
(
auto_now_add
=
True
,
verbose_name
=
'created'
)),
(
'modified'
,
django_extensions
.
db
.
fields
.
ModificationDateTimeField
(
auto_now
=
True
,
verbose_name
=
'modified'
)),
(
'name'
,
models
.
CharField
(
help_text
=
'Catalog name'
,
max_length
=
255
)),
(
'query'
,
models
.
TextField
(
help_text
=
'Query to retrieve catalog contents'
)),
],
options
=
{
'ordering'
:
(
'-modified'
,
'-created'
),
'permissions'
:
((
'view_catalog'
,
'Can view catalog'
),),
'get_latest_by'
:
'modified'
,
'abstract'
:
False
,
},
),
]
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