Ignore:
Timestamp:
Jul 12, 2011, 10:41:34 AM (13 years ago)
Author:
rick
Message:

Condence, more readable format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/wlheatmap/urls.py

    r9358 r9387  
    1111)
    1212
    13 urlpatterns += patterns('website.tile',
    14     url(
    15         # Example : today/fire/12/3,2.png
    16         regex = r'^tile/(?P<zoom>\d+)/(?P<x>\d+),(?P<y>\d+).png$',
    17         view = 'serve_tile',
    18         name = 'serve_tile',
    19        ),
    20     )
    21 
    22 urlpatterns += patterns('website.nodelist',
    23     url(
    24         regex = r'^nodelist/(?P<zoom>\d+),(?P<lat>[0-9.]+),(?P<lon>[0-9.]+)$',
    25         view = 'serve_nodelist',
    26         name = 'serve_nodelist',
    27        ),
    28     )
    29 
    30 urlpatterns += patterns('website.filters',
    31     url(r'^filters/$', 'serve_filters'),
    32   )
     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 TracChangeset for help on using the changeset viewer.