Opened 17 months ago

Last modified 17 months ago

#34715 closed New feature

have proposal to create new orm method get_object_or_none same as get_object_or_404 — at Version 1

Reported by: Mahavir Agrawal Owned by: nobody
Component: Database layer (models, ORM) Version: 4.2
Severity: Normal Keywords: django orm
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Mahavir Agrawal)

I want to contribute new method get_object_or_none
this method will be return object if object exist other wise this method will return None

Change History (1)

comment:1 by Mahavir Agrawal, 17 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top