daily pastebin goal
67%
SHARE
TWEET

urls.py

a guest Jul 27th, 2012 16 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from django.conf.urls.defaults import *
  2. from mysite.views import hello, current_datetime, hours_ahead
  3.  
  4. urlpatterns = patterns('',
  5.         (r'^hello/$', hello),
  6.         (r'^time/$', current_datetime),
  7.         (r'^time/plus/(\d{1,2})/$', hours_ahead),
  8. )
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top