temp: adding DeprecationWarning to remove neo4j.

This commit is contained in:
qasim.gulzar
2024-04-01 14:27:32 +05:00
parent 104969c659
commit 2eba42c7ad

View File

@@ -3,7 +3,7 @@ Coursegraph Application Configuration
Signal handlers are connected here.
"""
import warnings
from django.apps import AppConfig
@@ -15,3 +15,11 @@ class CoursegraphConfig(AppConfig):
name = 'cms.djangoapps.coursegraph'
from cms.djangoapps.coursegraph import tasks
def ready(self) -> None:
warnings.warn(
"Neo4j support is going to be dropped after Sumac release,"
"to read more here is a github issue https://github.com/openedx/edx-platform/issues/34342",
DeprecationWarning,
stacklevel=2
)