Ignore:
Timestamp:
Jul 7, 2011, 7:23:54 AM (13 years ago)
Author:
rick
Message:

Starting to make production ready:

  • Remove all static / references.
  • Added multihost osm-proxy capacities.
  • Got the osm-proxy code to a more usefull location.
  • Added caching.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/urls.py

    r9139 r9358  
    1212    (r'^admin/', include(admin.site.urls)),
    1313)
     14
     15urlpatterns += patterns('website.osm_proxy',
     16    url(
     17        # Example : today/fire/12/3,2.png
     18        regex = r'^osm-proxy/(?P<zoom>\d+)/(?P<x>\d+),(?P<y>\d+).png$',
     19        view = 'osm_proxy',
     20        name = 'osm_proxy',
     21       ),
     22    )
     23
    1424urlpatterns += staticfiles_urlpatterns()
    1525
Note: See TracChangeset for help on using the changeset viewer.