from django.urls import path
from . import views

app_name = 'articles'
urlpatterns = [
		path('', views.index, name ='index'),
		path('<int:article_id>/', views.detail, name ='detail'),
		path('<int:article_id>/leave_comment/', views.leave_comment, name ='leave_comment'),
		path('post/new/', views.post_new, name='post_new'),
		path('<int:article_id>/edit/', views.post_edit, name='post_edit'),
	]
