Browse Source

added redirect from / to /mumble

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

3
pyweb/urls.py

@ -26,6 +26,7 @@ urlpatterns = patterns('',
# Development stuff
if settings.DEBUG:
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