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

Last change on this file since 9779 was 9746, checked in by rick, 13 years ago
  • Cannot be placed in init as this will causes the CHOICES to load _before_

the database is created, leading to unknown table errors.

  • Added surveyid to upload field to allow selecting which meetrondje to use.
File size: 755 bytes
Line 
1from django.conf.urls.defaults import *
2from django.views.generic.simple import direct_to_template
3from django.conf import settings
4
5
6urlpatterns = patterns('wlheatmap',
7 url(r'^$', direct_to_template, {'template' : 'home.html'}),
8 url(r'^js/LayerBase.js$', 'js_layer_base'),
9 url(r'^tile/fixed/wl-only/(?P<zoom>\d+)/(?P<x>\d+),(?P<y>\d+).png$', 'tile.fixed_wl_only'),
10 url(r'^tile/(?P<zoom>\d+)/(?P<x>\d+),(?P<y>\d+).png$', 'tile.serve_tile'),
11 url(r'^nodelist/(?P<zoom>\d+),(?P<lat>[0-9.]+),(?P<lon>[0-9.]+)$', 'nodelist.serve_nodelist'),
12 url(r'^feature/nodes.json$', 'feature.nodes_json'),
13 url(r'^filters/$', 'filters.serve_filters'),
14 url(r'^process/$', 'process'),
15 url(r'^add/meetbestand/$', 'forms.add_meetbestand'),
16)
Note: See TracBrowser for help on using the repository browser.