Skip to content

Commit

Permalink
fix(test-case-failure): Fix quality check failure
Browse files Browse the repository at this point in the history
fix(test-case-failure): Fix quality check failure

fix(test-case-failure): Fix quality check failure
fix(test-case-failure): Fix quality check failure
  • Loading branch information
becdavid committed Jan 24, 2024
1 parent 0dacc09 commit 1ebc8b0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions openedx/features/termsofservice/api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down
4 changes: 0 additions & 4 deletions openedx/features/termsofservice/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
from .models import TermsOfService, TermsOfServiceAllSites, TermsOfServiceSites






logger = logging.getLogger(__name__)


Expand Down

0 comments on commit 1ebc8b0

Please sign in to comment.