Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
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
OpenEdx
problem-builder
Commits
ae56cf15
Commit
ae56cf15
authored
Jan 21, 2016
by
Jonathan Piacenti
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'edx-release' into django-migrations
parents
64cbd3e7
cecdbaf2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
0 deletions
+29
-0
problem_builder/migrations/0001_initial.py
+29
-0
problem_builder/migrations/__init__.py
+0
-0
No files found.
problem_builder/migrations/0001_initial.py
0 → 100644
View file @
ae56cf15
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
]
operations
=
[
migrations
.
CreateModel
(
name
=
'Answer'
,
fields
=
[
(
'id'
,
models
.
AutoField
(
verbose_name
=
'ID'
,
serialize
=
False
,
auto_created
=
True
,
primary_key
=
True
)),
(
'name'
,
models
.
CharField
(
max_length
=
50
,
db_index
=
True
)),
(
'student_id'
,
models
.
CharField
(
max_length
=
32
,
db_index
=
True
)),
(
'course_id'
,
models
.
CharField
(
max_length
=
50
,
db_index
=
True
)),
(
'student_input'
,
models
.
TextField
(
default
=
b
''
,
blank
=
True
)),
(
'created_on'
,
models
.
DateTimeField
(
auto_now_add
=
True
,
verbose_name
=
b
'created on'
)),
(
'modified_on'
,
models
.
DateTimeField
(
auto_now
=
True
,
verbose_name
=
b
'modified on'
)),
],
),
migrations
.
AlterUniqueTogether
(
name
=
'answer'
,
unique_together
=
set
([(
'student_id'
,
'course_id'
,
'name'
)]),
),
]
problem_builder/migrations/__init__.py
0 → 100644
View file @
ae56cf15
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