django1/django/core/urlresolvers.py

10 lines
263 B
Python

import warnings
from django.urls import * # NOQA
from django.utils.deprecation import RemovedInDjango20Warning
warnings.warn(
"Importing from django.core.urlresolvers is deprecated in favor of "
"django.urls.", RemovedInDjango20Warning, stacklevel=2
)