Yuravangenrih

Untitled

Aug 12th, 2015
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. from django.conf.urls import include, url
  2. from django.contrib import admin
  3.  
  4. urlpatterns = [
  5.     url(r'^$', 'blog.views.home', name='home'),
  6.     url(r'^about/$', 'blog.views.about', name='about'),
  7.     url(r'^articles/(?P<article_id>[0-9]+)/$', 'blog.views.show_article', name='article'),
  8. ]
Advertisement
Add Comment
Please, Sign In to add comment