Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (18 sloc) 733 Bytes
from django.conf import settings
from django.conf.urls.defaults import *
from django.contrib import admin
urlpatterns = patterns('',
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# This allows Django to serve static files when you're developing your project.
# You'll have to do something else in production.
# More information:
# -----------------------------------------------------------------------------
if settings.DEBUG:
urlpatterns += patterns("django.views",
url(r"^static/(?P<path>.*)", "static.serve", {
"document_root": settings.MEDIA_ROOT,