#34715: have proposal to create new orm method get_object_or_none same as
get_object_or_404
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  mahavir2506                        |
                   Type:  New        |         Status:  new
  feature                            |
              Component:  Database   |        Version:  4.2
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:  django orm
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 want to contribute new method get_object_or_none
 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
 because puting every time try except for this is very irritating so i want
 to propose this function

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34715>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701895dc87c11-a2e30a9d-05f6-46c0-820f-602c4e8fefb6-000000%40eu-central-1.amazonses.com.

Reply via email to