Fixed incorrectly throwing ObjectDoesNotExist
A missing not operator (!
) in the if-statements resulted in an ObjectDoesNotExist
exception being thrown when the object actually existed.
A missing not operator (!
) in the if-statements resulted in an ObjectDoesNotExist
exception being thrown when the object actually existed.