Skip to content

Instantly share code, notes, and snippets.

@ridoansaleh
Created January 28, 2018 12:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ridoansaleh/cbcfa58be919ea22254a9852cc2657eb to your computer and use it in GitHub Desktop.
Save ridoansaleh/cbcfa58be919ea22254a9852cc2657eb to your computer and use it in GitHub Desktop.
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.index, name="index"),
url(r'^edit/(?P<pk>\d+)$', views.edit, name='edit'),
url(r'^delete/(?P<pk>\d+)$', views.delete, name='delete'),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment