source: subversion/sites/other/tilesAtHome_tahngo/urls.py @ 9032

Revision 9032, 781 bytes checked in by spaetz, 6 years ago (diff)

redirect tah client version requests to new page

Line 
1from django.conf.urls.defaults import *
2from django.views.generic.simple import direct_to_template,redirect_to
3from tah.tah_intern.views import show_log
4from tah.browse.MapOf import export_MapOf
5
6urlpatterns = patterns('',
7    (r'^$', direct_to_template, {'template': 'homepage.html'}),
8    (r'^Request/', include('tah.requests.urls')),
9    (r'^User/', include('tah.user.urls')),
10    #(r'^blank/', include('tah.tah_intern.urls_blank')),
11    (r'^Browse/', include('tah.browse.urls')),
12    (r'^admin/', include('django.contrib.admin.urls')),
13    (r'^Log/$', show_log),
14    (r'^MapOf/', export_MapOf),
15    (r'Requests/Version\.php$', redirect_to, {'url': '/tahngo/Request/latestClientVersion/'}), #temporary redirect
16    #(r'/accounts/profile/$', 'redirect_to', {'url': '/user/'}),
17)
Note: See TracBrowser for help on using the repository browser.