fix: fix django4 deprecation warnings (#32975)
This commit is contained in:
@@ -3,7 +3,7 @@ URL definitions for the course_modes API.
|
||||
"""
|
||||
|
||||
|
||||
from django.conf.urls import include
|
||||
from django.urls import include
|
||||
from django.urls import path
|
||||
|
||||
app_name = 'common.djangoapps.course_modes.rest_api'
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
URLs file for the Entitlements API.
|
||||
"""
|
||||
|
||||
from django.conf.urls import include
|
||||
from django.urls import include
|
||||
from django.urls import path
|
||||
|
||||
app_name = 'entitlements'
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
URLs for the V1 of the Entitlements API.
|
||||
"""
|
||||
|
||||
from django.conf.urls import include
|
||||
from django.urls import include
|
||||
from django.urls import path, re_path
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
|
||||
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
|
||||
|
||||
default_app_config = 'common.djangoapps.third_party_auth.apps.ThirdPartyAuthConfig'
|
||||
|
||||
|
||||
def is_enabled():
|
||||
"""Check whether third party authentication has been enabled. """
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"""Url configuration for the auth module."""
|
||||
|
||||
from django.conf.urls import include
|
||||
from django.urls import include
|
||||
from django.urls import path, re_path
|
||||
|
||||
from .views import (
|
||||
|
||||
Reference in New Issue
Block a user