from django.conf.urls import patterns, url

from .views import NoticeSettingsView


urlpatterns = patterns(
    "",
    url(r"^settings/$", NoticeSettingsView.as_view(), name="notification_notice_settings"),
)

from django.conf.urls import url

from .views import NoticeSettingsView


urlpatterns = [
    url(r"^settings/$", NoticeSettingsView.as_view(), name="notification_notice_settings"),
]

Make compatible with Django 1.9
Make compatible with Django 1.9

- from django.conf.urls import patterns, url
+ from django.conf.urls import url
  
  from .views import NoticeSettingsView
  
  
+ urlpatterns = [
- urlpatterns = patterns(
-     "",
      url(r"^settings/$", NoticeSettingsView.as_view(), name="notification_notice_settings"),
- )
+ ]
  
Make compatible with Django 1.9
## Code Before:
from django.conf.urls import patterns, url

from .views import NoticeSettingsView


urlpatterns = patterns(
    "",
    url(r"^settings/$", NoticeSettingsView.as_view(), name="notification_notice_settings"),
)

## Instruction:
Make compatible with Django 1.9
## Code After:
from django.conf.urls import url

from .views import NoticeSettingsView


urlpatterns = [
    url(r"^settings/$", NoticeSettingsView.as_view(), name="notification_notice_settings"),
]
