code: def get_or_none(cls, **filter_kwargs):
          
          try:
              video = cls.objects.get(**filter_kwargs)
          except cls.DoesNotExist:
              video = None
  
          return video
docs: Returns a video or None.