Opened 14 years ago
Closed 13 years ago
#15792 closed Bug (wontfix)
databrowse attempting to create urls out of non-models
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.databrowse | Version: | 1.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When databrowse creates links on row view pages, it does not take into account for null foreign keys and can end up calling a method on a NoneType.
Attachments (2)
Change History (5)
by , 14 years ago
Attachment: | databrowse.datastructures.diff added |
---|
comment:1 by , 14 years ago
Easy pickings: | unset |
---|---|
Needs tests: | set |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 14 years ago
I hit that bug myself some time ago and solved it with a different patch (attached).
by , 14 years ago
Attachment: | django-databrowse-fix-crash-on-null-foreign-keys.patch added |
---|
comment:3 by , 13 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
UI/UX: | unset |
Databrowse is now deprecated, see #16907
Note:
See TracTickets
for help on using tickets.
databrowse.datastructures patch