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

Last change on this file since 9728 was 9348, checked in by spaetz, 12 years ago

make admin interface work with django SVN version. will break on older djangos. sorry

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