Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#15310 closed (fixed)

Wrong view path in documentation for serving static files

Reported by: Bradley Ayers <bradley.ayers@…> Owned by: nobody
Component: Documentation Version: 1.3-beta
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


In the code sample, it has:

url(r'^media/(?P<path>.*)$', 'django.views.static', {

but it should be:

url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {

Attachments (1)

static-files.txt.patch (504 bytes) - added by Bradley Ayers <bradley.ayers@…> 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Bradley Ayers <bradley.ayers@…>

Attachment: static-files.txt.patch added

comment:1 Changed 9 years ago by Russell Keith-Magee

Triage Stage: UnreviewedReady for checkin

comment:2 Changed 9 years ago by Gabriel Hurley

Resolution: fixed
Status: newclosed

In [15556]:

Fixed #15310 -- Corrected a view path in the static files how to docs. Thanks to Bradley Ayers for the report and patch.

comment:3 Changed 8 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top