Commit fe73d6be1c856cfd8c4404ccac433d412c0dc21b
1 parent
9b9d308f
Exists in
master
and in
5 other branches
Including links urls.py with the right links [Issues: #120,#121,#122]
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
links/urls.py
... | ... | @@ -2,5 +2,7 @@ from django.conf.urls import url, include |
2 | 2 | from . import views |
3 | 3 | |
4 | 4 | urlpatterns = [ |
5 | - url(r'^$', views.CreateLink.as_view(), name='teste') | |
5 | + url(r'^$', views.CreateLink.as_view(), name='create_link'), | |
6 | + url(r'^deletelink/(?P<linkname>[\w_-]+)/$', views.deleteLink,name = 'delete_link'), | |
7 | + url(r'^updatelink/(?P<linkname>[\w_-]+)/$', views.UpdateLink.as_view(),name = 'update_link'), | |
6 | 8 | ] | ... | ... |