Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#14793 closed (fixed)

staticfiles documentation example overwrites urlpatterns

Reported by: Gabriel Grant Owned by: Gabriel Grant
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The example of manually adding the static file development view to urlpatterns incorrectly overwrites urlpatterns. It should have "urlpatterns += ..." rather than an "urlpatterns = ..."

Currently it is the first example at:

Attachments (1)

14793.diff (495 bytes) - added by Gabriel Grant 9 years ago.
patch adding the '+'

Download all attachments as: .zip

Change History (4)

comment:1 Changed 9 years ago by Gabriel Grant

Summary: staticfiles documentation overwrites urlpatternsstaticfiles documentation example overwrites urlpatterns

Changed 9 years ago by Gabriel Grant

Attachment: 14793.diff added

patch adding the '+'

comment:2 Changed 9 years ago by Honza Král

Resolution: fixed
Status: newclosed

(In [14729]) Fixed #14793 -- staticfiles documentation example overwrites urlpatterns. Thanks gg!

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