from django.conf.urls import patterns, url

from .views import NoteList, NoteCreate, NoteDetail, NoteUpdate, NoteDelete


urlpatterns = patterns(
    'notes.views',
    url(r'^$', NoteList.as_view(), name='note-list'),
    url(r'^(?P<pk>\d+)/$', NoteDetail.as_view(), name='note-detail'),
    url(r'^add/$', NoteCreate.as_view(), name='note-add'),
    url(r'^(?P<pk>\d+)/edit/$', NoteUpdate.as_view(), name='note-update'),
    url(r'^(?P<pk>\d+)/delete/$', NoteDelete.as_view(), name='note-delete'),
)

62d625e77d4984fefff09be145eec529afb0756c
<mask token>

<mask token>
urlpatterns = patterns('notes.views', url('^$', NoteList.as_view(), name=
    'note-list'), url('^(?P<pk>\\d+)/$', NoteDetail.as_view(), name=
    'note-detail'), url('^add/$', NoteCreate.as_view(), name='note-add'),
    url('^(?P<pk>\\d+)/edit/$', NoteUpdate.as_view(), name='note-update'),
    url('^(?P<pk>\\d+)/delete/$', NoteDelete.as_view(), name='note-delete'))

from django.conf.urls import patterns, url
from .views import NoteList, NoteCreate, NoteDetail, NoteUpdate, NoteDelete
urlpatterns = patterns('notes.views', url('^$', NoteList.as_view(), name=
    'note-list'), url('^(?P<pk>\\d+)/$', NoteDetail.as_view(), name=
    'note-detail'), url('^add/$', NoteCreate.as_view(), name='note-add'),
    url('^(?P<pk>\\d+)/edit/$', NoteUpdate.as_view(), name='note-update'),
    url('^(?P<pk>\\d+)/delete/$', NoteDelete.as_view(), name='note-delete'))

from django.conf.urls import patterns, url

from .views import NoteList, NoteCreate, NoteDetail, NoteUpdate, NoteDelete


urlpatterns = patterns(
    'notes.views',
    url(r'^$', NoteList.as_view(), name='note-list'),
    url(r'^(?P<pk>\d+)/$', NoteDetail.as_view(), name='note-detail'),
    url(r'^add/$', NoteCreate.as_view(), name='note-add'),
    url(r'^(?P<pk>\d+)/edit/$', NoteUpdate.as_view(), name='note-update'),
    url(r'^(?P<pk>\d+)/delete/$', NoteDelete.as_view(), name='note-delete'),
)
