1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 12:34:17 +00:00

jumper: add stub index

This commit is contained in:
Hidden Z 2011-02-06 14:15:03 +00:00
parent 0007450844
commit f53aa53a6b
2 changed files with 4 additions and 0 deletions

View File

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

View File

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