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
94bd72c3
Commit
94bd72c3
authored
Nov 17, 2016
by
Matjaz Gregoric
Committed by
GitHub
Nov 17, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #130 from open-craft/mtyaka/extend-course-id-field
Extend course_id field to 255 characters.
parents
8906d1be
ee5408c5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
3 deletions
+22
-3
circle.yml
+1
-1
problem_builder/migrations/0003_auto_20161116_0730.py
+19
-0
problem_builder/models.py
+1
-1
setup.py
+1
-1
No files found.
circle.yml
View file @
94bd72c3
...
...
@@ -11,7 +11,7 @@ dependencies:
-
"
pip
install
-r
requirements.txt"
-
"
pip
install
-r
$VIRTUAL_ENV/src/xblock-sdk/requirements/base.txt"
-
"
pip
install
-r
$VIRTUAL_ENV/src/xblock-sdk/requirements/test.txt"
-
"
pip
uninstall
-y
xblock-problem-builder
&&
python
setup.py
sdist
&&
pip
install
dist/xblock-problem-builder-2.6.
2
.tar.gz"
-
"
pip
uninstall
-y
xblock-problem-builder
&&
python
setup.py
sdist
&&
pip
install
dist/xblock-problem-builder-2.6.
3
.tar.gz"
-
"
pip
install
-r
test_requirements.txt"
-
"
mkdir
var"
test
:
...
...
problem_builder/migrations/0003_auto_20161116_0730.py
0 → 100644
View file @
94bd72c3
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'problem_builder'
,
'0002_auto_20160121_1525'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'answer'
,
name
=
'course_id'
,
field
=
models
.
CharField
(
max_length
=
255
,
db_index
=
True
),
),
]
problem_builder/models.py
View file @
94bd72c3
...
...
@@ -39,7 +39,7 @@ class Answer(models.Model):
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
)
course_id
=
models
.
CharField
(
max_length
=
255
,
db_index
=
True
)
student_input
=
models
.
TextField
(
blank
=
True
,
default
=
''
)
created_on
=
models
.
DateTimeField
(
'created on'
,
auto_now_add
=
True
)
modified_on
=
models
.
DateTimeField
(
'modified on'
,
auto_now
=
True
)
...
...
setup.py
View file @
94bd72c3
...
...
@@ -70,7 +70,7 @@ BLOCKS = [
setup
(
name
=
'xblock-problem-builder'
,
version
=
'2.6.
2
'
,
version
=
'2.6.
3
'
,
description
=
'XBlock - Problem Builder'
,
packages
=
[
'problem_builder'
,
'problem_builder.v1'
],
install_requires
=
[
...
...
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