Fix CSRF bug.

This commit is contained in:
Isaac Bythewood
2012-07-24 23:26:38 +00:00
parent 493ef04a45
commit 93f9d23470
10 changed files with 56 additions and 5 deletions

View File

@@ -4,4 +4,5 @@ from django.conf.urls import patterns, url
urlpatterns = patterns('pinry.pins.views',
url(r'^$', 'recent_pins', name='recent-pins'),
url(r'^new-pin/$', 'new_pin', name='new-pin'),
url(r'^delete-pin/(?P<pin_id>\d*)/$', 'delete_pin', name='delete-pin'),
)