[Django] #32522: Improved error message on DoesNotExist

9 views
Skip to first unread message

Django

unread,
Mar 8, 2021, 2:27:26 AM3/8/21
to django-...@googlegroups.com
#32522: Improved error message on DoesNotExist
--------------------------------------------+------------------------
Reporter: Anders Hovmöller | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 3.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------------+------------------------
It would be nice if the DoesNotExist error contained information on what
filters were used when the object wasn't found.

A PR is forthcoming.

--
Ticket URL: <https://code.djangoproject.com/ticket/32522>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 8, 2021, 2:49:32 AM3/8/21
to django-...@googlegroups.com
#32522: Improved error message on DoesNotExist
----------------------------------+--------------------------------------

Reporter: Anders Hovmöller | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 3.1
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => duplicate


Comment:

This is a duplicate of #10494 that was fixed in
d5b93d3281fe93cbef5de84a52001f64dbd839bd but the patch was reverted in
266c0bb23e9d64c47ace4d162e582febd5a1e336.

Duplicate of #10494.

--
Ticket URL: <https://code.djangoproject.com/ticket/32522#comment:1>

Reply all
Reply to author
Forward
0 new messages