Opened 18 years ago
Closed 18 years ago
#4101 closed (fixed)
Confusing URL match in generic views examples
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.
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