Package madrona :: Package layers :: Module urls
[hide private]

Source Code for Module madrona.layers.urls

 1  from django.conf.urls.defaults import * 
 2  import time 
 3   
 4   
 5  urlpatterns = patterns('madrona.layers.views', 
 6      url(r'^public/$',  
 7          'get_public_layers',  
 8          name='public-data-layers'), 
 9   
10      # Useful for debugging, avoids GE caching interference 
11      url(r'^public/cachebuster/%s' % str(time.time()),  
12          'get_public_layers',  
13          name='public-data-layers-cachebuster'), 
14   
15      url(r'^kml_file/(?P<session_key>\w+)/(?P<uid>[\w_]+).kml',  
16          'get_kml_file',  
17          name='kml-file'), 
18      url(r'^privatekml/(?P<session_key>\w+)/$',  
19          'get_privatekml_list',  
20          name='layers-privatekml-list'), 
21      url(r'^privatekml/(?P<session_key>\w+)/(?P<pk>\d+)/$',  
22          'get_privatekml',  
23          name='layers-privatekml'), 
24      url(r'^privatekml/(?P<session_key>\w+)/(?P<pk>\d+)/(?P<path>[^\z]+)$',  
25          'get_relative_to_privatekml',  
26          name='layers-privatekml-relative'), 
27  ) 
28