fix: fix django4 deprecation warnings (#32978)

This commit is contained in:
Usama Sadiq
2023-08-16 17:07:09 +05:00
committed by GitHub
parent 9979017b69
commit 87216d360d
7 changed files with 1 additions and 8 deletions

View File

@@ -3,4 +3,3 @@
ace_common is a Django App that provides common utilities and templates
for edx-platform applications that use ACE as their messaging framework.
"""
default_app_config = 'openedx.core.djangoapps.ace_common.apps.AceCommonConfig' # pylint: disable=invalid-name

View File

@@ -3,7 +3,7 @@ URL definitions for api access request API.
"""
from django.conf.urls import include
from django.urls import include
from django.urls import path
app_name = 'api_admin'

View File

@@ -1,2 +1 @@
# lint-amnesty, pylint: disable=missing-module-docstring
default_app_config = 'openedx.core.djangoapps.catalog.apps.CatalogConfig'

View File

@@ -1,5 +1,3 @@
"""
Django app to manage course content dates, and ingesting them into edx-when for later use by the LMS.
"""
default_app_config = 'openedx.core.djangoapps.course_date_signals.apps.CourseDatesSignalsConfig' # pylint: disable=invalid-name

View File

@@ -1,4 +1,3 @@
"""
Handle discussions integrations
"""
default_app_config = 'openedx.core.djangoapps.discussions.apps.DiscussionsConfig'

View File

@@ -4,4 +4,3 @@ edX Platform support for external user IDs.
This package will be used to support generating external User IDs to be shared
with outside parties.
"""
default_app_config = 'openedx.core.djangoapps.external_user_ids.apps.ExternalUserIDConfig'

View File

@@ -1,7 +1,6 @@
"""
Calendar syncing Course dates with a User.
"""
default_app_config = 'openedx.features.calendar_sync.apps.UserCalendarSyncConfig'
def get_calendar_event_id(user, block_key, date_type, hostname):