urls.py: add planet.archlinux.org fallback urls
Add temporary fallback urls for old planet.archlinux.org urls. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
This commit is contained in:
parent
2146c423fb
commit
5f9b0bd41e
6
urls.py
6
urls.py
@ -68,6 +68,12 @@
|
||||
url(r'^planet/$', cache_page(317)(PlanetFeed()), name='planet-feed'),
|
||||
]
|
||||
|
||||
# Old planet.archlinux.org redirects, to be removed once people have migrated.
|
||||
urlpatterns.extend([
|
||||
url(r'^planet/rss20.xml$', cache_page(317)(PlanetFeed())),
|
||||
url(r'^planet/atom.xml$', cache_page(317)(PlanetFeed())),
|
||||
])
|
||||
|
||||
# Includes and other remaining stuff
|
||||
urlpatterns.extend([
|
||||
url(r'^admin/', admin.site.urls),
|
||||
|
Loading…
Reference in New Issue
Block a user