From 12f33be2767e2ddcd8d1cea540d3739427720c15 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Thu, 17 Feb 2011 17:29:52 +0000 Subject: [PATCH] Add names for rss urls --- pyi2phosts/latest/urls.py | 2 +- pyi2phosts/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyi2phosts/latest/urls.py b/pyi2phosts/latest/urls.py index 5b1d932..19b2db1 100644 --- a/pyi2phosts/latest/urls.py +++ b/pyi2phosts/latest/urls.py @@ -3,6 +3,6 @@ from pyi2phosts.lib.rss import LatestHostsFeed urlpatterns = patterns('pyi2phosts.latest.views', url(r'^$', 'latest', name='latest'), - url(r'^rss/$', LatestHostsFeed()), + url(r'^rss/$', LatestHostsFeed(), name='latest-rss'), ) diff --git a/pyi2phosts/urls.py b/pyi2phosts/urls.py index 1ff599b..6a5f5c3 100644 --- a/pyi2phosts/urls.py +++ b/pyi2phosts/urls.py @@ -43,7 +43,7 @@ urlpatterns = patterns('', }, name='index'), url(r'^faq/$', object_list, extsources, name='faq'), url(r'^browse/$', object_list, browse_hosts, name='browse'), - url(r'^browse/rss/$', AliveHostsFeed()), + url(r'^browse/rss/$', AliveHostsFeed(), name='browse-rss'), (r'^latest/', include('pyi2phosts.latest.urls')), (r'^search/$', include('pyi2phosts.search.urls')),