difference between filter and get django code example
Example: difference between get and filter in django
Difference between Django's filter() and get() methods
Basically use get() when you want to get a single unique object,
and filter() when you want to get all objects that match your lookup parameters
which means filter() is slightly expensive operation if the model class has a large number of objects, whereas get() is direct approach.