Commit bb2705d3 authored by Jannis Leidel's avatar Jannis Leidel
Browse files

Merge pull request #758 from FakoTB/master

Fixed #19572 - Remove document_root argument from staticfiles views.
parents c12891e8 2db9cbe9
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.