diff --git a/api/comments/serializers.py b/api/comments/serializers.py index 6dafa8707ee..d09c0b4a272 100644 --- a/api/comments/serializers.py +++ b/api/comments/serializers.py @@ -8,7 +8,7 @@ from rest_framework.exceptions import ValidationError, PermissionDenied from api.base.exceptions import InvalidModelValueError, Conflict from api.base.utils import absolute_reverse -from api.base.settings import osf_settings +from website import settings as osf_settings from api.base.serializers import ( JSONAPISerializer, TargetField, diff --git a/api_tests/comments/views/test_comment_detail.py b/api_tests/comments/views/test_comment_detail.py index 59d09e00fa9..1e527d18612 100644 --- a/api_tests/comments/views/test_comment_detail.py +++ b/api_tests/comments/views/test_comment_detail.py @@ -4,7 +4,7 @@ from addons.wiki.tests.factories import WikiFactory from api.base.settings.defaults import API_BASE -from api.base.settings import osf_settings +from website import settings as osf_settings from api_tests import utils as test_utils from framework.auth import core from osf.models import Guid diff --git a/api_tests/nodes/views/test_node_comments_list.py b/api_tests/nodes/views/test_node_comments_list.py index 7f50be911a8..f3e34089da9 100644 --- a/api_tests/nodes/views/test_node_comments_list.py +++ b/api_tests/nodes/views/test_node_comments_list.py @@ -1,7 +1,7 @@ import pytest from addons.wiki.tests.factories import WikiFactory -from api.base.settings import osf_settings +from website import settings as osf_settings from api.base.settings.defaults import API_BASE from api_tests import utils as test_utils from framework.auth import core