mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
16 lines
574 B
Python
16 lines
574 B
Python
# 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<tag_name>.+)/$', views.tag, name='tag'),
|
|
url(r'^edit/(?P<id>\d+)/$', views.edit, name='edit_article'),
|
|
url(r'^(?P<slug>[-\w]+)/$', views.article, name='article'),
|
|
] |