summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfako <fako@travelbird.nl>2013-02-23 14:38:13 +0100
committerfako <fako@travelbird.nl>2013-02-23 14:38:13 +0100
commit2db9cbe97c3f375e1db6759db73cf15d09341420 (patch)
tree2d879e81cfaf27be7267b28cf7c847cd09f91c09
parentc12891e8cd629cc16fc5d22e485b87ca3169df2c (diff)
Removes document_root argument from django.contrib.staticfiles.views.serve
This argument can be removed, because the new way of finding static files doesn't take document_root into account at all.
-rw-r--r--django/contrib/staticfiles/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/staticfiles/views.py b/django/contrib/staticfiles/views.py
index fe095ed225..4264d9b42c 100644
--- a/django/contrib/staticfiles/views.py
+++ b/django/contrib/staticfiles/views.py
@@ -17,7 +17,7 @@ from django.views import static
from django.contrib.staticfiles import finders
-def serve(request, path, document_root=None, insecure=False, **kwargs):
+def serve(request, path insecure=False, **kwargs):
"""
Serve static files below a given point in the directory structure or
from locations inferred from the staticfiles finders.