From d8c7eda587fda3dec43ae0048ff73c44ec922987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20J=C3=A4ckel?= Date: Mon, 5 Dec 2016 12:40:28 +0100 Subject: [PATCH] Fixed typo. --- openslides/motions/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openslides/motions/views.py b/openslides/motions/views.py index d6a072481..695b8db49 100644 --- a/openslides/motions/views.py +++ b/openslides/motions/views.py @@ -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 '