Merge pull request #758 from FakoTB/master
Fixed #19572 - Remove document_root argument from staticfiles views.
This commit is contained in:
commit
bb2705d3db
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue