From 7ddddcef15c920a72335d8ad40f87436b0b59c5c Mon Sep 17 00:00:00 2001 From: olivier <> Date: Fri, 7 Mar 2008 18:15:22 +0000 Subject: [PATCH] fix urls --- telemeta/urls.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/telemeta/urls.py b/telemeta/urls.py index e1f9dd3d..2de399e1 100644 --- a/telemeta/urls.py +++ b/telemeta/urls.py @@ -111,25 +111,25 @@ urlpatterns = patterns('', name="telemeta-enumeration-record-update"), # Geographic browsing - url(r'geo/$', web_view.list_continents, name="telemeta-geo-continents"), - url(r'geo/(?P[A-Za-z]+)/$', web_view.list_countries, + url(r'^geo/$', web_view.list_continents, name="telemeta-geo-continents"), + url(r'^geo/(?P[A-Za-z]+)/$', web_view.list_countries, name="telemeta-geo-countries"), - url('geo/(?P[A-Za-z]+)/(?P[-A-Za-z0-9%;.,"& \']+)/$', + url('^geo/(?P[A-Za-z]+)/(?P[-A-Za-z0-9%;.,"& \']+)/$', web_view.list_country_collections, name="telemeta-geo-country-collections"), - url(r'dynjs/continents.js$', web_view.get_continents_js, name="telemeta-continents-js"), + url(r'^dynjs/continents.js$', web_view.get_continents_js, name="telemeta-continents-js"), # CSS+Images (FIXME: for developement only) - url(r'css/(?P.*)$', 'django.views.static.serve', + url(r'^css/(?P.*)$', 'django.views.static.serve', {'document_root': htdocs+'/css'}, name="telemeta-css"), - url(r'images/(?P.*)$', 'django.views.static.serve', + url(r'^images/(?P.*)$', 'django.views.static.serve', {'document_root': htdocs+'/images'}, name="telemeta-images"), - url(r'js/(?P.*)$', 'django.views.static.serve', + url(r'^js/(?P.*)$', 'django.views.static.serve', {'document_root': htdocs+'/js'}, name="telemeta-js"), - url(r'swf/(?P.*)$', 'django.views.static.serve', + url(r'^swf/(?P.*)$', 'django.views.static.serve', {'document_root': htdocs+'/swf'}, name="telemeta-swf"), ) -- 2.39.5