Browse Source

jumper: add stub index

pull/1/head
Hidden Z 14 years ago
parent
commit
f53aa53a6b
  1. 1
      pyi2phosts/jump/urls.py
  2. 3
      pyi2phosts/jump/views.py

1
pyi2phosts/jump/urls.py

@ -2,5 +2,6 @@ from django.conf.urls.defaults import *
urlpatterns = patterns('pyi2phosts.jump.views', urlpatterns = patterns('pyi2phosts.jump.views',
(r'^([^$/]+)', 'jumper'), (r'^([^$/]+)', 'jumper'),
(r'', 'index'),
) )

3
pyi2phosts/jump/views.py

@ -48,3 +48,6 @@ def jumper(request, host):
'title': settings.SITE_NAME, 'title': settings.SITE_NAME,
'url': url, 'url': url,
}) })
def index(request):
return redirect('/')

Loading…
Cancel
Save