Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: ed74cfdb89
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (30 sloc) 1.469 kB
# WasWhereWhen is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# WasWhereWhen is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with WasWhereWhen. If not, see <http://www.gnu.org/licenses/>.
#
from django.conf.urls.defaults import patterns, include, url
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'waswherewhen.views.home', name='home'),
# url(r'^waswherewhen/', include('waswherewhen.foo.urls')),
url(r'^$', 'brain.views.index'),
url(r'^(?P<year>\d+)/$', 'brain.views.index'),
url(r'^(?P<year>\d+)/(?P<month>\d+)/$', 'brain.views.index'),
url(r'^(?P<year>\d+)/(?P<month>\d+)/(?P<day>\d+)/$', 'brain.views.index'),
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
)
Jump to Line
Something went wrong with that request. Please try again.