Opened 18 years ago
Closed 18 years ago
#4101 closed (fixed)
Confusing URL match in generic views examples
Reported by: | Owned by: | Jacob | |
---|---|---|---|
Component: | Documentation | Version: | dev |
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
On http://www.djangoproject.com/documentation/generic_views/ there's a URL match using r'/?$' which could cause confusion to new users - as the preceding slash is never sent to urlpatterns, that /? is completely extraneous, but may make people think that sometimes it is sent.
Attachments (2)
Change History (4)
by , 18 years ago
Attachment: | generic_views.patch added |
---|
by , 18 years ago
Attachment: | generic_views.2.patch added |
---|
comment:1 by , 18 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
What do you mean confusing to "new users"? I had to think about this for a little while to work out what it might be doing. I agree, it's worth fixing.
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
minor correction to last patch