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