From 2db9cbe97c3f375e1db6759db73cf15d09341420 Mon Sep 17 00:00:00 2001 From: fako Date: Sat, 23 Feb 2013 14:38:13 +0100 Subject: [PATCH] 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. --- django/contrib/staticfiles/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/staticfiles/views.py b/django/contrib/staticfiles/views.py index fe095ed2259..4264d9b42c5 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.