mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-02-02 01:44:40 +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',
|
urlpatterns = patterns('pyi2phosts.jump.views',
|
||||||
(r'^([^$/]+)', 'jumper'),
|
(r'^([^$/]+)', 'jumper'),
|
||||||
|
(r'', 'index'),
|
||||||
|
|
||||||
)
|
)
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user