Fehlermeldung beim Anlegen eines baskets unter bekanntem Namen abfangen
Created by: kwenzig
Wenn man versucht, einen Basket unter einem bereits verhandenen Namen anzulegen, gibt es eine hässliche Fehlermeldung:
IntegrityError at /workspace/baskets/new
UNIQUE constraint failed: workspace_basket.user_id, workspace_basket.name
Request Method: POST Request URL: https://paneldata.org/workspace/baskets/new Django Version: 1.8.5 Exception Type: IntegrityError Exception Value:
UNIQUE constraint failed: workspace_basket.user_id, workspace_basket.name
Exception Location: /data/WWW/vhosts/paneldata.soep.de/env/lib/python3.4/site-packages/django/db/backends/sqlite3/base.py in execute, line 318 Python Executable: /usr/bin/python3 Python Version: 3.4.6 Python Path:
['/data/WWW/vhosts/paneldata.soep.de/ddionrails2/ddionrails', '/data/WWW/vhosts/paneldata.soep.de/env/lib/python3.4/site-packages', '/usr/lib/python34.zip', '/usr/lib64/python3.4', '/usr/lib64/python3.4/plat-linux', '/usr/lib64/python3.4/lib-dynload', '/usr/lib64/python3.4/site-packages', '/usr/lib64/python3.4/_import_failed', '/usr/lib/python3.4/site-packages', '.']
Server time: Thu, 29 Jun 2017 14:31:04 +0200