<reponame>suomiy/message-board<gh_stars>0
from django.conf.urls import url
from . import views
from board.views import PostDelete

urlpatterns = [
    url(r'^$', views.index, name='index'),
	url(r'^login/$', views.login, name='login'),
    url(r'^logout/$', views.logout, name='logout'),
    url(r'^register/$', views.register, name='register'),
	url(r'^delete/(?P<pk>\d+)$', PostDelete.as_view(), name='delete')
]

from django.conf.urls import url
from . import views
from board.views import PostDelete

urlpatterns = [
    url(r'^$', views.index, name='index'),
	url(r'^login/$', views.login, name='login'),
    url(r'^logout/$', views.logout, name='logout'),
    url(r'^register/$', views.register, name='register'),
	url(r'^delete/(?P<pk>\d+)$', PostDelete.as_view(), name='delete')
]