diff --git a/analytics/urls.py b/analytics/urls.py index 684970fcbd..2ea2ea16ae 100644 --- a/analytics/urls.py +++ b/analytics/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls import patterns, url +from django.conf.urls import url i18n_urlpatterns = [ url(r'^activity$', 'analytics.views.get_activity'), @@ -6,4 +6,4 @@ i18n_urlpatterns = [ url(r'^user_activity/(?P[\S]+)/$', 'analytics.views.get_user_activity'), ] -urlpatterns = patterns('', *i18n_urlpatterns) +urlpatterns = i18n_urlpatterns diff --git a/corporate/urls.py b/corporate/urls.py index 39e00bd5ec..bd27b5bea1 100644 --- a/corporate/urls.py +++ b/corporate/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls import patterns, url +from django.conf.urls import url from django.views.generic import TemplateView, RedirectView i18n_urlpatterns = [ @@ -12,4 +12,4 @@ i18n_urlpatterns = [ url(r'^privacy/$', TemplateView.as_view(template_name='corporate/privacy.html')), ] -urlpatterns = patterns('', *i18n_urlpatterns) +urlpatterns = i18n_urlpatterns diff --git a/zilencer/urls.py b/zilencer/urls.py index 8424482b96..5d2e77b26d 100644 --- a/zilencer/urls.py +++ b/zilencer/urls.py @@ -1,4 +1,4 @@ -from django.conf.urls import patterns, url, include +from django.conf.urls import url, include i18n_urlpatterns = [ # SSO dispatch page for desktop app with SSO diff --git a/zproject/urls.py b/zproject/urls.py index 18db201921..1d876a54c6 100644 --- a/zproject/urls.py +++ b/zproject/urls.py @@ -1,5 +1,5 @@ from django.conf import settings -from django.conf.urls import patterns, url, include +from django.conf.urls import url, include from django.conf.urls.i18n import i18n_patterns from django.views.generic import TemplateView, RedirectView from django.utils.module_loading import import_string