diff --git a/notification/urls.py b/notification/urls.py index 3eae0652..d559f32e 100644 --- a/notification/urls.py +++ b/notification/urls.py @@ -1,4 +1,8 @@ -from django.conf.urls.defaults import patterns, url +try: + from django.conf.urls.defaults import patterns, url +except ImportError: + from django.conf.urls import patterns, url + urlpatterns = patterns("notification.views", url(r"^settings/$", 'notice_settings', name="notification_notice_settings"),