File tree Expand file tree Collapse file tree
website_content/migrations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -937,4 +937,4 @@ def get_all_config_keys():
937937
938938# Create all learning material resources for OCW courses
939939# Learning material resources are behind show_ocw_files flag in search
940- CREATE_OCW_LEARNING_MATERIALS = get_bool ("CREATE_OCW_LEARNING_MATERIALS" , default = False )
940+ CREATE_OCW_LEARNING_MATERIALS = get_bool ("CREATE_OCW_LEARNING_MATERIALS" , default = False )
Original file line number Diff line number Diff line change 1212from rest_framework import serializers
1313from rest_framework .exceptions import ValidationError
1414
15- from website_content .permissions import is_website_content_editor
1615from authentication import api as auth_api
1716from learning_resources .models import LearningResourceTopic
1817from learning_resources .permissions import is_admin_user , is_learning_path_editor
3332 fetch_program_letter_template_data ,
3433 image_uri ,
3534)
35+ from website_content .permissions import is_website_content_editor
3636
3737User = get_user_model ()
3838
Original file line number Diff line number Diff line change 22
33import django .db .models .deletion
44import django .utils .timezone
5- import website_content .utils
65from django .conf import settings
76from django .db import migrations , models
87
8+ import website_content .utils
9+
910
1011class Migration (migrations .Migration ):
1112 initial = True
You can’t perform that action at this time.
0 commit comments