Last change
on this file since 9563 was 9549, checked in by rick, 14 years ago |
- Caches are now fully-file based as memcached was not working well with large entries (like images).
- OSM django proxy is way to slow, rewrite to use apache balanced proxy members.
- Use HTTPD mod_cache to cache heavy image generation work.
|
File size:
788 bytes
|
Rev | Line | |
---|
[9139] | 1 | from django.conf.urls.defaults import *
|
---|
| 2 | from django.views.generic.simple import direct_to_template
|
---|
[9390] | 3 | #from django.views.generic.base import TemplateView
|
---|
[9139] | 4 | from django.conf import settings
|
---|
| 5 |
|
---|
[9390] | 6 | #class HomeView(TemplateView):
|
---|
| 7 | # template_name = 'home.html'
|
---|
| 8 | #
|
---|
| 9 | #urlpatterns = patterns('',
|
---|
| 10 | # ('^$', HomeView.as_view())
|
---|
| 11 | #)
|
---|
[9139] | 12 |
|
---|
[9390] | 13 | urlpatterns = patterns('wlheatmap',
|
---|
| 14 | url(r'^$', direct_to_template, {'template' : 'home.html'}),
|
---|
[9544] | 15 | url(r'^js/LayerBase.js$', 'js_layer_base'),
|
---|
[9549] | 16 | url(r'^tile/fixed/wl-only/(?P<zoom>\d+)/(?P<x>\d+),(?P<y>\d+).png$', 'tile.fixed_wl_only'),
|
---|
[9387] | 17 | url(r'^tile/(?P<zoom>\d+)/(?P<x>\d+),(?P<y>\d+).png$', 'tile.serve_tile'),
|
---|
| 18 | url(r'^nodelist/(?P<zoom>\d+),(?P<lat>[0-9.]+),(?P<lon>[0-9.]+)$', 'nodelist.serve_nodelist'),
|
---|
| 19 | url(r'^filters/$', 'filters.serve_filters'),
|
---|
| 20 | )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.