Opened 16 months ago
Last modified 16 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 )
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
Note:
See TracTickets
for help on using tickets.