get() method
If you know there is only one object that matches your query, you can use the get() method on a Manager, which returns the object directly:
In: Author.objects.get(pk=1)
You can use any query expression with the get() method, just like with the filter(), but there is a difference between using the get(), and using the filter()[0]: if there are no results that match the get() query, Django will raise the DoesNotExist exception. To avoid this exception, you can provide the default_value value that will return if there no results that match the get() query — get(id=1, default_value); if more than one item matches the get() query, Django will raise the MultipleObjectsReturned exception.