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:
parent
0007450844
commit
f53aa53a6b
@ -2,5 +2,6 @@ from django.conf.urls.defaults import *
|
||||
|
||||
urlpatterns = patterns('pyi2phosts.jump.views',
|
||||
(r'^([^$/]+)', 'jumper'),
|
||||
(r'', 'index'),
|
||||
|
||||
)
|
||||
|
@ -48,3 +48,6 @@ def jumper(request, host):
|
||||
'title': settings.SITE_NAME,
|
||||
'url': url,
|
||||
})
|
||||
|
||||
def index(request):
|
||||
return redirect('/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user