source: src/django_gheat/wlheatmap/urls.py@ 9387

Last change on this file since 9387 was 9387, checked in by rick, 13 years ago

Condence, more readable format

File size: 574 bytes
Line 
1from django.conf.urls.defaults import *
2from django.views.generic.simple import direct_to_template
3from django.views.generic.base import TemplateView
4from django.conf import settings
5
6class HomeView(TemplateView):
7 template_name = 'home.html'
8
9urlpatterns = patterns('',
10 ('^$', HomeView.as_view())
11)
12
13urlpatterns += patterns('wlheatmap',
14 url(r'^tile/(?P<zoom>\d+)/(?P<x>\d+),(?P<y>\d+).png$', 'tile.serve_tile'),
15 url(r'^nodelist/(?P<zoom>\d+),(?P<lat>[0-9.]+),(?P<lon>[0-9.]+)$', 'nodelist.serve_nodelist'),
16 url(r'^filters/$', 'filters.serve_filters'),
17)
Note: See TracBrowser for help on using the repository browser.