diff --git a/openedx/features/termsofservice/api/v1/views.py b/openedx/features/termsofservice/api/v1/views.py index 48f9daf34e48..076dac4f1fc7 100644 --- a/openedx/features/termsofservice/api/v1/views.py +++ b/openedx/features/termsofservice/api/v1/views.py @@ -2,16 +2,13 @@ from django.views.decorators.csrf import ensure_csrf_cookie from django.http import HttpResponse, JsonResponse - from django.contrib.sites.models import Site from django.conf import settings from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers - from openedx.features.termsofservice.models import TermsOfServiceSites, TermsOfService from openedx.features.termsofservice.models import TermsOfServiceAcknowledgement, TermsOfServiceAllSites - @ensure_csrf_cookie def terms_of_service_api(request): # lint-amnesty, pylint: disable=missing-function-docstring latest_tos_html = '' diff --git a/openedx/features/termsofservice/views.py b/openedx/features/termsofservice/views.py index 74ab0e07dc3b..ed7c8e327766 100644 --- a/openedx/features/termsofservice/views.py +++ b/openedx/features/termsofservice/views.py @@ -7,10 +7,6 @@ from .models import TermsOfService, TermsOfServiceAllSites, TermsOfServiceSites - - - - logger = logging.getLogger(__name__)