from django.conf.urls import url
from . import views
# this app_name to use namespace
app_name='note_app'
urlpatterns=[
    url(r'^$', views.all_notes, name='all_notes'),
    # url(r'^(?P<id>\d+)$', views.details, name='note_details')
    url(r'^(?P<_slug>[-\w]+)/$', views.details, name='note_details'),
    url(r'^add$', views.note_add, name='add_note'),
    url(r'^(?P<slug>[-\w]+)/edit$', views.edit, name='note_edit'),


]
cf249bf4811f6420d8070a79935d0f9a50fa7f81
<mask token>

<mask token>
app_name = 'note_app'
urlpatterns = [url('^$', views.all_notes, name='all_notes'), url(
    '^(?P<_slug>[-\\w]+)/$', views.details, name='note_details'), url(
    '^add$', views.note_add, name='add_note'), url(
    '^(?P<slug>[-\\w]+)/edit$', views.edit, name='note_edit')]

from django.conf.urls import url
from . import views
app_name = 'note_app'
urlpatterns = [url('^$', views.all_notes, name='all_notes'), url(
    '^(?P<_slug>[-\\w]+)/$', views.details, name='note_details'), url(
    '^add$', views.note_add, name='add_note'), url(
    '^(?P<slug>[-\\w]+)/edit$', views.edit, name='note_edit')]

from django.conf.urls import url
from . import views
# this app_name to use namespace
app_name='note_app'
urlpatterns=[
    url(r'^$', views.all_notes, name='all_notes'),
    # url(r'^(?P<id>\d+)$', views.details, name='note_details')
    url(r'^(?P<_slug>[-\w]+)/$', views.details, name='note_details'),
    url(r'^add$', views.note_add, name='add_note'),
    url(r'^(?P<slug>[-\w]+)/edit$', views.edit, name='note_edit'),


]