From fe8119a6c6c183f146f1b0ee27e8fcfcdf80351f Mon Sep 17 00:00:00 2001 From: Ahtisham Shahid Date: Tue, 13 Oct 2020 12:41:22 +0500 Subject: [PATCH] Added app.py to mobile_api to resolve migration issue (#25327) removed un-necessary imports --- lms/djangoapps/mobile_api/apps.py | 14 ++++++++++++++ lms/envs/common.py | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 lms/djangoapps/mobile_api/apps.py diff --git a/lms/djangoapps/mobile_api/apps.py b/lms/djangoapps/mobile_api/apps.py new file mode 100644 index 0000000000..2e7cb30990 --- /dev/null +++ b/lms/djangoapps/mobile_api/apps.py @@ -0,0 +1,14 @@ +""" +Configuration for the mobile_api Django application. +""" + + +from django.apps import AppConfig + + +class MobileApiConfig(AppConfig): + """ + Configuration class for the mobile_api Django application. + """ + name = 'lms.djangoapps.mobile_api' + verbose_name = "Mobile API" diff --git a/lms/envs/common.py b/lms/envs/common.py index 8894113a49..1499d82e2b 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -2589,7 +2589,7 @@ INSTALLED_APPS = [ 'django_countries', # edX Mobile API - 'mobile_api', + 'lms.djangoapps.mobile_api.apps.MobileApiConfig', 'social_django', # Surveys