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.

30 lines
926 B

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