Commit 2db9cbe9 authored by fako's avatar fako
Browse files

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.
parent c12891e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.