Browse Source

Add names for rss urls

pull/1/head
Hidden Z 14 years ago
parent
commit
12f33be276
  1. 2
      pyi2phosts/latest/urls.py
  2. 2
      pyi2phosts/urls.py

2
pyi2phosts/latest/urls.py

@ -3,6 +3,6 @@ from pyi2phosts.lib.rss import LatestHostsFeed
urlpatterns = patterns('pyi2phosts.latest.views', urlpatterns = patterns('pyi2phosts.latest.views',
url(r'^$', 'latest', name='latest'), url(r'^$', 'latest', name='latest'),
url(r'^rss/$', LatestHostsFeed()), url(r'^rss/$', LatestHostsFeed(), name='latest-rss'),
) )

2
pyi2phosts/urls.py

@ -43,7 +43,7 @@ urlpatterns = patterns('',
}, name='index'), }, name='index'),
url(r'^faq/$', object_list, extsources, name='faq'), url(r'^faq/$', object_list, extsources, name='faq'),
url(r'^browse/$', object_list, browse_hosts, name='browse'), 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'^latest/', include('pyi2phosts.latest.urls')),
(r'^search/$', include('pyi2phosts.search.urls')), (r'^search/$', include('pyi2phosts.search.urls')),

Loading…
Cancel
Save