PLAT-1916 Ignore existing usage of deprecated field_data
This commit is contained in:
@@ -14,7 +14,8 @@ class CommonInitializationConfig(AppConfig):
|
||||
from . import checks
|
||||
self._add_mimetypes()
|
||||
|
||||
def _add_mimetypes(self):
|
||||
@staticmethod
|
||||
def _add_mimetypes():
|
||||
"""
|
||||
Add extra mimetypes. Used in xblock_resource.
|
||||
"""
|
||||
|
||||
@@ -115,4 +115,6 @@ def log_python_warnings():
|
||||
each test case.
|
||||
"""
|
||||
warnings.simplefilter('default')
|
||||
warnings.filterwarnings('ignore', 'Setting _field_data is deprecated')
|
||||
warnings.filterwarnings('ignore', 'Setting _field_data via the constructor is deprecated')
|
||||
logging.captureWarnings(True)
|
||||
|
||||
@@ -55,6 +55,7 @@ INSTALLED_APPS = (
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.sites',
|
||||
'djcelery',
|
||||
'openedx.core.djangoapps.video_config',
|
||||
'openedx.core.djangoapps.video_pipeline',
|
||||
@@ -62,6 +63,7 @@ INSTALLED_APPS = (
|
||||
'edxval',
|
||||
'courseware',
|
||||
'student',
|
||||
'openedx.core.djangoapps.site_configuration',
|
||||
'lms.djangoapps.certificates.apps.CertificatesConfig',
|
||||
'openedx.core.djangoapps.user_api',
|
||||
'course_modes.apps.CourseModesConfig',
|
||||
|
||||
Reference in New Issue
Block a user