fix: fix django4 deprecation warnings (#32975)

This commit is contained in:
Usama Sadiq
2023-08-16 16:20:54 +05:00
committed by GitHub
parent c8bb65e8ab
commit 9979017b69
5 changed files with 4 additions and 6 deletions

View File

@@ -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'

View File

@@ -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'

View File

@@ -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

View File

@@ -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. """

View File

@@ -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 (