source: subversion/sites/other/tilesAtHome_tahngo/requests/urls.py

Last change on this file was 10456, checked in by spaetz, 12 years ago

create RSS feeds specially for flohoff to keep on crunchin prio4 :-)

File size: 983 bytes
Line 
1
2from django.conf.urls.defaults import *
3from tah.requests.views import *
4from tah.requests.feeds import LatestRequests, OldestRequestsByPriority
5
6# available RSS feeds
7request_feeds = {
8    'latest': LatestRequests,
9    'oldest': OldestRequestsByPriority,
10}
11
12urlpatterns = patterns('',
13    (r'^$', index),
14    (r'^show/$', show_first_page),
15    (r'^show/uploads/$', show_uploads_page),
16    (r'^show/page(?P<page>[0-9]+)/$', show_requests),
17    (r'^show/ajax$', show_ajax),
18    # an RSS feed for the latest requests
19    (r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': request_feeds}),
20    (r'^create/$', create),
21    (r'^create/changedTiles/$', request_changedTiles),
22    (r'^take/$', take),
23    (r'^feedback/$', feedback),
24    (r'^upload/$',upload_request),
25    (r'^upload/go_nogo',upload_gonogo),
26    (r'^expireTiles',expire_tiles),
27    (r'^stats/munin/(?P<status>\w+)/$',stats_munin_requests),
28    (r'^latestClient',show_latest_client_version),
29)
Note: See TracBrowser for help on using the repository browser.