Better way of filtering in Django and seeing if the object exists
<p>A lot of times I find myself filtering for an object and returning <code>None</code> if it can't be found. However, the method I do this seems really inefficient (in terms of lines of code)</p>

<p>When I filter for an object I normally do something like this:</p>

<pre><code>person = Person.objects.filter(id=id)
if person:
    person = Person.objects.get(id=id)
else:
    person = None
</code></pre>

<p>Is there a better way of doing this?</p>

<p><strong>Edit</strong>
I have made edits to clarify confusion on my end. 
The filter query should always return 1 object, if it exists.</p>