Browse Source

added redirect from / to /mumble

Natenom/support-murmur-13-1446181288462
work 16 years ago
parent
commit
6b9be097d5
  1. 1
      pyweb/urls.py

1
pyweb/urls.py

@ -27,5 +27,6 @@ urlpatterns = patterns('',
if settings.DEBUG: if settings.DEBUG:
urlpatterns += patterns('', urlpatterns += patterns('',
(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True} ), (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True} ),
(r'^/?$', 'django.views.generic.simple.redirect_to', { 'url': '/mumble/' } ),
) )
Loading…
Cancel
Save