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
RevLine 
[9139]1from django.conf.urls.defaults import *
2from django.views.generic.simple import direct_to_template
3from django.conf import settings
4
5
[9390]6urlpatterns = patterns('wlheatmap',
7 url(r'^$', direct_to_template, {'template' : 'home.html'}),
[9544]8 url(r'^js/LayerBase.js$', 'js_layer_base'),
[9549]9 url(r'^tile/fixed/wl-only/(?P<zoom>\d+)/(?P<x>\d+),(?P<y>\d+).png$', 'tile.fixed_wl_only'),
[9387]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'),
[9594]12 url(r'^feature/nodes.json$', 'feature.nodes_json'),
[9387]13 url(r'^filters/$', 'filters.serve_filters'),
[9658]14 url(r'^process/$', 'process'),
[9746]15 url(r'^add/meetbestand/$', 'forms.add_meetbestand'),
[9387]16)
Note: See TracBrowser for help on using the repository browser.