Wenn ich einem Datenbündel zustimme, es widerrufe, eine neue Zustimmung erteile, kann ich nicht mehr pausieren
MultipleObjectsReturned at /api/v1/consents/user/update-consent-active
get() returned more than one UserConsents -- it returned 2!
Request Method: POST
Request URL: http://.../api/v1/consents/user/update-consent-active
Django Version: 4.2.7
Exception Type: MultipleObjectsReturned
Exception Value:
get() returned more than one UserConsents -- it returned 2!
Exception Location: /usr/local/lib/python3.13/site-packages/django/db/models/query.py, line 640, in get
Raised during: consents.views.UpdateUserConsentView
Python Executable: /usr/local/bin/python3.13
Python Version: 3.13.7
Python Path:
['/usr/src/app',
'/usr/src/app',
'/usr/local/bin',
'/usr/local/lib/python313.zip',
'/usr/local/lib/python3.13',
'/usr/local/lib/python3.13/lib-dynload',
'/usr/local/lib/python3.13/site-packages',
'/usr/local/lib/python3.13/site-packages/setuptools/_vendor']
Server time: Thu, 04 Sep 2025 15:32:21 +0000