Skip to content

Commit

Permalink
fix(wrong-import-order): Fix pylint failure
Browse files Browse the repository at this point in the history
fix(wrong-import-order): Fix pylint failure
fix(wrong-import-order): Fix pylint failure
  • Loading branch information
fujimeh authored and becdavid committed Jan 24, 2024
1 parent e688af7 commit 0dacc09
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 4 additions & 2 deletions openedx/features/termsofservice/api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

from django.views.decorators.csrf import ensure_csrf_cookie
from django.http import HttpResponse, JsonResponse
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers

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
from django.contrib.sites.models import Site



@ensure_csrf_cookie
Expand Down
10 changes: 7 additions & 3 deletions openedx/features/termsofservice/views.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# lint-amnesty, pylint: disable=missing-module-docstring

from .models import TermsOfService, TermsOfServiceAllSites, TermsOfServiceSites
import logging
from django.contrib.sites.models import Site
from django.template.loader import render_to_string
from django.conf import settings
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
import logging
from .models import TermsOfService, TermsOfServiceAllSites, TermsOfServiceSites






logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 0dacc09

Please sign in to comment.