Skip to content

Commit 5887609

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 575fd90 commit 5887609

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

main/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

profiles/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from rest_framework import serializers
1313
from rest_framework.exceptions import ValidationError
1414

15-
from website_content.permissions import is_website_content_editor
1615
from authentication import api as auth_api
1716
from learning_resources.models import LearningResourceTopic
1817
from learning_resources.permissions import is_admin_user, is_learning_path_editor
@@ -33,6 +32,7 @@
3332
fetch_program_letter_template_data,
3433
image_uri,
3534
)
35+
from website_content.permissions import is_website_content_editor
3636

3737
User = get_user_model()
3838

website_content/migrations/0001_initial.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22

33
import django.db.models.deletion
44
import django.utils.timezone
5-
import website_content.utils
65
from django.conf import settings
76
from django.db import migrations, models
87

8+
import website_content.utils
9+
910

1011
class Migration(migrations.Migration):
1112
initial = True

0 commit comments

Comments
 (0)