Merge pull request #2735 from normanjaeckel/FixStatus

Fixed typo.
This commit is contained in:
Emanuel Schütze 2016-12-05 13:09:25 +01:00 committed by GitHub
commit 3888632e14

View File

@ -442,7 +442,7 @@ class CategoryViewSet(ModelViewSet):
except IntegrityError:
message = _('Error: At least one identifier of this category does '
'already exist in another category.')
response = Response({'detail': message}, status_code=400)
response = Response({'detail': message}, status=400)
else:
inform_changed_data(instances)
message = _('All motions in category {category} numbered '