Merge pull request #758 from FakoTB/master

Fixed #19572 - Remove document_root argument from staticfiles views.
This commit is contained in:
Jannis Leidel 2013-02-23 05:47:20 -08:00
commit bb2705d3db
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ from django.views import static
from django.contrib.staticfiles import finders 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 Serve static files below a given point in the directory structure or
from locations inferred from the staticfiles finders. from locations inferred from the staticfiles finders.