Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
994 B

  1. # -*- coding: utf-8 -*-
  2. from django.conf.urls.defaults import *
  3. # Uncomment the next two lines to enable the admin:
  4. from django.contrib import admin
  5. admin.autodiscover()
  6. from django.conf import settings
  7. urlpatterns = patterns('',
  8. (r'^/?$', 'django.views.generic.simple.redirect_to', { 'url': '/mumble/' } ),
  9. # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
  10. # to INSTALLED_APPS to enable admin documentation:
  11. # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
  12. (r'^accounts/profile/', 'views.profile' ),
  13. (r'^accounts/imprint/', 'views.imprint' ),
  14. (r'^accounts/', include('registration.urls')),
  15. (r'^mumble/', include('mumble.urls')),
  16. # Uncomment the next line to enable the admin:
  17. (r'^admin/(.*)', admin.site.root),
  18. )
  19. # Development stuff
  20. if settings.DEBUG:
  21. urlpatterns += patterns('',
  22. (r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True} ),
  23. )