Changes between Version 1 and Version 2 of Ticket #27242


Ignore:
Timestamp:
Sep 19, 2016, 2:49:41 AM (8 years ago)
Author:
Alexey Rogachev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27242 – Description

    v1 v2  
    1 Quite often we need to find object of certain model and return `None` if it does not exist. I suggest to add this to `django.shortcuts`:
     1Quite often we need to find object of certain model and return `None` if it does not exist. I suggest to add this to `django.shortcuts` similar to `get_object_or_404`:
    22
    33{{{#!python
Back to Top