Opened 14 years ago

Closed 14 years ago

Last modified 13 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

Description

http://docs.djangoproject.com/en/dev//howto/static-files/#django.views.static.serve

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@…> 14 years ago.

Download all attachments as: .zip

Change History (4)

by Bradley Ayers <bradley.ayers@…>, 14 years ago

Attachment: static-files.txt.patch added

comment:1 by Russell Keith-Magee, 14 years ago

Triage Stage: UnreviewedReady for checkin

comment:2 by Gabriel Hurley, 14 years ago

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 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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