Fixed typo.
This commit is contained in:
parent
224ba797a2
commit
d8c7eda587
@ -442,7 +442,7 @@ class CategoryViewSet(ModelViewSet):
|
|||||||
except IntegrityError:
|
except IntegrityError:
|
||||||
message = _('Error: At least one identifier of this category does '
|
message = _('Error: At least one identifier of this category does '
|
||||||
'already exist in another category.')
|
'already exist in another category.')
|
||||||
response = Response({'detail': message}, status_code=400)
|
response = Response({'detail': message}, status=400)
|
||||||
else:
|
else:
|
||||||
inform_changed_data(instances)
|
inform_changed_data(instances)
|
||||||
message = _('All motions in category {category} numbered '
|
message = _('All motions in category {category} numbered '
|
||||||
|
Loading…
Reference in New Issue
Block a user