diff --git a/compat/__init__.py b/compat/__init__.py index 55ba206..4a3144d 100644 --- a/compat/__init__.py +++ b/compat/__init__.py @@ -43,7 +43,8 @@ from six.moves._thread import get_ident # noqa try: - from django.conf.urls import url, include, handler404, handler500 + from django.conf.urls import url, handler404, handler500 + from django.urls import include except ImportError: from django.conf.urls.defaults import url, include, handler404, handler500 # pyflakes:ignore