def get_or_none(self, **kwargs):
try:<EOL><INDENT>return self.get(**kwargs)<EOL><DEDENT>except ObjectDoesNotExist:<EOL><INDENT>return None<EOL><DEDENT>
Gets an object if it exists in database according to 
given query parameters otherwise returns None.

Args:
    **kwargs: query parameters

Returns: object or None