# coding: utf-8 from django.conf.urls import patterns, include, url from bootcamp.articles import views urlpatterns = [ url(r'^$', views.articles, name='articles'), url(r'^write/$', views.write, name='write'), url(r'^preview/$', views.preview, name='preview'), url(r'^drafts/$', views.drafts, name='drafts'), url(r'^comment/$', views.comment, name='comment'), url(r'^tag/(?P.+)/$', views.tag, name='tag'), url(r'^edit/(?P\d+)/$', views.edit, name='edit_article'), url(r'^(?P[-\w]+)/$', views.article, name='article'), ]