Merge pull request #18501 from edx/arch/remove-course-structures-part3
Remove course_structures app (part 3)
This commit is contained in:
@@ -1070,7 +1070,6 @@ INSTALLED_APPS = [
|
||||
'edx_jsme', # Molecular Structure
|
||||
|
||||
'openedx.core.djangoapps.content.course_overviews.apps.CourseOverviewsConfig',
|
||||
'openedx.core.djangoapps.content.course_structures.apps.CourseStructuresConfig',
|
||||
'openedx.core.djangoapps.content.block_structure.apps.BlockStructureConfig',
|
||||
|
||||
# edx-milestones service
|
||||
|
||||
@@ -2219,7 +2219,6 @@ INSTALLED_APPS = [
|
||||
|
||||
# Course data caching
|
||||
'openedx.core.djangoapps.content.course_overviews.apps.CourseOverviewsConfig',
|
||||
'openedx.core.djangoapps.content.course_structures.apps.CourseStructuresConfig',
|
||||
'openedx.core.djangoapps.content.block_structure.apps.BlockStructureConfig',
|
||||
'lms.djangoapps.course_blocks',
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
"""
|
||||
Django Application Configuration for course_structures app.
|
||||
"""
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class CourseStructuresConfig(AppConfig):
|
||||
"""
|
||||
Custom AppConfig for openedx.core.djangoapps.content.course_structures
|
||||
"""
|
||||
name = u'openedx.core.djangoapps.content.course_structures'
|
||||
@@ -1,28 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.utils.timezone
|
||||
import model_utils.fields
|
||||
from opaque_keys.edx.django.models import CourseKeyField
|
||||
import util.models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='CourseStructure',
|
||||
fields=[
|
||||
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
||||
('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, verbose_name='created', editable=False)),
|
||||
('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, verbose_name='modified', editable=False)),
|
||||
('course_id', CourseKeyField(unique=True, max_length=255, verbose_name=b'Course ID', db_index=True)),
|
||||
('structure_json', util.models.CompressedTextField(null=True, verbose_name=b'Structure JSON', blank=True)),
|
||||
('discussion_id_map_json', util.models.CompressedTextField(null=True, verbose_name=b'Discussion ID Map JSON', blank=True)),
|
||||
],
|
||||
),
|
||||
]
|
||||
@@ -1,18 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.13 on 2018-07-02 19:43
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('course_structures', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.DeleteModel(
|
||||
name='CourseStructure',
|
||||
),
|
||||
]
|
||||
@@ -1,14 +0,0 @@
|
||||
"""
|
||||
Django ORM model specifications for the Course Structures sub-application
|
||||
"""
|
||||
import json
|
||||
import logging
|
||||
|
||||
from collections import OrderedDict
|
||||
from model_utils.models import TimeStampedModel
|
||||
from opaque_keys.edx.django.models import CourseKeyField, UsageKey
|
||||
|
||||
from util.models import CompressedTextField
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__) # pylint: disable=invalid-name
|
||||
Reference in New Issue
Block a user