Opened 7 years ago

Closed 4 years ago

#10494 closed New feature (fixed)

show query params DoesNotExist from QuerySet.get

Reported by: brondsem 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 7 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Design decision needed

comment:2 Changed 5 years ago by SmileyChris

  • Severity set to Normal
  • Type set to New feature

comment:3 Changed 5 years ago by aaugustin

  • Easy pickings set
  • Triage Stage changed from Design decision needed to Accepted
  • UI/UX unset

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

comment:4 Changed 5 years ago by zefciu

  • Owner changed from nobody to zefciu
  • Status changed from new to assigned

comment:5 Changed 5 years ago by zefciu

  • Has patch set

Created a patch as a pull request:

comment:6 Changed 5 years ago by oinopion

  • Triage Stage changed from Accepted to Ready for checkin

Looks good.

comment:7 Changed 4 years ago by akaariai

  • Resolution set to fixed
  • Status changed from assigned to closed

In [17917]:

(The changeset message doesn't reference this ticket)

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