Opened 10 years ago

Closed 7 years ago

#10494 closed New feature (fixed)

show query params DoesNotExist from QuerySet.get

Reported by: Dave Brondsema Owned by: zefciu
Component: Database layer (models, ORM) Version: 1.0
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


In db.models.query.QuerySet.get, it'd be nice if it included kwargs when raising DoesNotExist, like it does when it raises MultipleObjectsReturned

Change History (7)

comment:1 Changed 10 years ago by Jacob

Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 8 years ago by Chris Beaven

Severity: Normal
Type: New feature

comment:3 Changed 7 years ago by Aymeric Augustin

Easy pickings: set
Triage Stage: Design decision neededAccepted
UI/UX: unset

I'm not sure why this is flagged as DDN. Informative exceptions are good.

comment:4 Changed 7 years ago by zefciu

Owner: changed from nobody to zefciu
Status: newassigned

comment:5 Changed 7 years ago by zefciu

Has patch: set

Created a patch as a pull request:

comment:6 Changed 7 years ago by Tomek Paczkowski

Triage Stage: AcceptedReady for checkin

Looks good.

comment:7 Changed 7 years ago by Anssi Kääriäinen

Resolution: fixed
Status: assignedclosed

In [17917]:

(The changeset message doesn't reference this ticket)

Note: See TracTickets for help on using tickets.
Back to Top