from django.conf.urls.defaults import patterns, url from views import get, get_current urlpatterns = patterns('', url(r'^$', get_current), url(r'^(?P\d{4})/(?P\d{1,2})/(?P\d{1,2})/(?P\d{1,2})/(?P\d{1,2})/?$', get), )