Commit 8379e303 by Don Mitchell

Moved settings models from common to cms

parent 7ed0002b
...@@ -44,9 +44,9 @@ import sys ...@@ -44,9 +44,9 @@ import sys
import tarfile import tarfile
import time import time
from contentstore import course_info_model from contentstore import course_info_model
from models.settings.course_details import CourseDetails
from models.settings.course_details import CourseDetailsEncoder
from contentstore.utils import get_modulestore from contentstore.utils import get_modulestore
from cms.djangoapps.models.settings.course_details import CourseDetails,\
CourseDetailsEncoder
# to install PIL on MacOSX: 'easy_install http://dist.repoze.org/PIL-1.1.6.tar.gz' # to install PIL on MacOSX: 'easy_install http://dist.repoze.org/PIL-1.1.6.tar.gz'
......
...@@ -4,8 +4,8 @@ from xmodule.modulestore.exceptions import ItemNotFoundError ...@@ -4,8 +4,8 @@ from xmodule.modulestore.exceptions import ItemNotFoundError
import json import json
from json.encoder import JSONEncoder from json.encoder import JSONEncoder
import time import time
from util.converters import jsdate_to_time, time_to_date
from contentstore.utils import get_modulestore from contentstore.utils import get_modulestore
from util.converters import jsdate_to_time, time_to_date
class CourseDetails: class CourseDetails:
def __init__(self, location): def __init__(self, location):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment