chore: removed 'wrong-import-order' from disabled imports (#29365)
* chore: removed 'wrong-import-order' from disabled imports
This commit is contained in:
@@ -5,8 +5,8 @@ URL definitions for the course_modes v1 API.
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
from common.djangoapps.course_modes.rest_api.v1 import views
|
||||
from django.urls import re_path
|
||||
from common.djangoapps.course_modes.rest_api.v1 import views
|
||||
|
||||
app_name = 'v1'
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
from common.djangoapps.course_modes import views
|
||||
from django.urls import re_path
|
||||
from common.djangoapps.course_modes import views
|
||||
|
||||
urlpatterns = [
|
||||
re_path(fr'^choose/{settings.COURSE_ID_PATTERN}/$', views.ChooseModeView.as_view(), name='course_modes_choose'),
|
||||
|
||||
@@ -5,8 +5,8 @@ URLs for the V1 of the Entitlements API.
|
||||
from django.conf.urls import include
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
from .views import EntitlementEnrollmentViewSet, EntitlementViewSet
|
||||
from django.urls import path, re_path
|
||||
from .views import EntitlementEnrollmentViewSet, EntitlementViewSet
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register(r'entitlements', EntitlementViewSet, basename='entitlements')
|
||||
|
||||
@@ -4,9 +4,9 @@ URLs for student app
|
||||
|
||||
|
||||
from django.conf import settings
|
||||
from django.urls import path, re_path
|
||||
|
||||
from . import views
|
||||
from django.urls import path, re_path
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
|
||||
from django.conf import settings
|
||||
from django.urls import path, re_path
|
||||
|
||||
from .views import ThirdPartyAuthUserStatusView, UserMappingView, UserView, UserViewV2
|
||||
from django.urls import path, re_path
|
||||
|
||||
PROVIDER_PATTERN = r'(?P<provider_id>[\w.+-]+)(?:\:(?P<idp_slug>[\w.+-]+))?'
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""Url configuration for the auth module."""
|
||||
|
||||
from django.conf.urls import include
|
||||
from django.urls import path, re_path
|
||||
|
||||
from .views import (
|
||||
IdPRedirectView,
|
||||
@@ -9,7 +10,6 @@ from .views import (
|
||||
post_to_custom_auth_form,
|
||||
saml_metadata_view
|
||||
)
|
||||
from django.urls import path, re_path
|
||||
|
||||
urlpatterns = [
|
||||
path('auth/inactive', inactive_user_view, name="third_party_inactive_redirect"),
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
"""
|
||||
URLs for track app
|
||||
"""
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
from .views import segmentio
|
||||
from django.urls import path
|
||||
|
||||
urlpatterns = [
|
||||
path('event', views.user_track),
|
||||
|
||||
Reference in New Issue
Block a user