diff options
| author | Jannis Leidel <jannis@leidel.info> | 2013-02-23 05:47:20 -0800 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2013-02-23 05:47:20 -0800 |
| commit | bb2705d3dbe8f3a8dbabc89030edf1d6d6af9818 (patch) | |
| tree | 2d879e81cfaf27be7267b28cf7c847cd09f91c09 | |
| parent | c12891e8cd629cc16fc5d22e485b87ca3169df2c (diff) | |
| parent | 2db9cbe97c3f375e1db6759db73cf15d09341420 (diff) | |
Merge pull request #758 from FakoTB/master
Fixed #19572 - Remove document_root argument from staticfiles views.
| -rw-r--r-- | django/contrib/staticfiles/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/staticfiles/views.py b/django/contrib/staticfiles/views.py index fe095ed225..4264d9b42c 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. |
