Save updated statuses

This commit is contained in:
Mouse Reeve
2021-10-14 17:23:54 -07:00
parent 066f14ca84
commit f5e52d6a11
2 changed files with 6 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class CreateStatus(View):
"""create status of whatever type"""
if existing_status_id:
existing_status = get_object_or_404(
models.Status.select_subclasses(), id=existing_status_id
models.Status.objects.select_subclasses(), id=existing_status_id
)
existing_status.raise_not_editable(request.user)