Changes between Initial Version and Version 1 of Ticket #34715


Ignore:
Timestamp:
Jul 16, 2023, 3:21:37 AM (16 months ago)
Author:
Mahavir Agrawal
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34715 – Description

    initial v1  
    1 want to contribute new method get_object_or_none
    2 As django developer many developers are facing this issue some time they want object and they also want if object doesn't exist tin that case default they will get None object
    3 because puting every time try except for this is very irritating so i want to propose this function
     1I want to contribute new method get_object_or_none
     2this method will be return object if object exist other wise this method will return None
Back to Top