#14027 closed (fixed)
reverse(None) returns an unnamed URL, instead of raising an exception
| Reported by: | Alex Gaynor | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
If your project has an unnamed URL reverse(None) returns the last one, instead of raising an exception as one might expect.
Attachments (2)
Change History (5)
by , 15 years ago
| Attachment: | django-reverse-none.diff added |
|---|
comment:1 by , 15 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
by , 15 years ago
| Attachment: | django-reverse-none.2.diff added |
|---|
comment:2 by , 15 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 by , 15 years ago
Note:
See TracTickets
for help on using tickets.
Apparently widow'd comments are more important than 79 col zealotry :)