Merge branch 'main' into production

This commit is contained in:
Mouse Reeve 2021-04-18 07:11:50 -07:00
commit 85f1c38ba6

View file

@ -105,7 +105,7 @@ class Status(View):
status = models.Status.objects.select_subclasses().get(
id=status_id, deleted=False
)
except (ValueError, models.Status.DoesNotExist):
except (ValueError, models.Status.DoesNotExist, models.User.DoesNotExist):
return HttpResponseNotFound()
# the url should have the poster's username in it