#15310 closed (fixed)
Wrong view path in documentation for serving static files
| Reported by: | 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)
Change History (4)
by , 15 years ago
| Attachment: | static-files.txt.patch added |
|---|
comment:1 by , 15 years ago
| Triage Stage: | Unreviewed → Ready for checkin |
|---|
comment:2 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [15556]: