Opened 9 years ago

Closed 9 years ago

#4944 closed (fixed)

It should be documented that "unique" raises an IntegrityError

Reported by: anonymous Owned by: Philippe Raoult
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Right now, is rather unspecific how database level enforcement is reflected in the Python code.

Attachments (1)

4944.diff (489 bytes) - added by Philippe Raoult 9 years ago.
updated the docs

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by Simon G. <dev@…>

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

Feel free to write up a patch.

Changed 9 years ago by Philippe Raoult

Attachment: 4944.diff added

updated the docs

comment:2 Changed 9 years ago by Philippe Raoult

Has patch: set
Owner: changed from nobody to Philippe Raoult

comment:3 Changed 9 years ago by Philippe Raoult

Status: newassigned

comment:4 Changed 9 years ago by Simon G. <dev@…>

Triage Stage: AcceptedReady for checkin

comment:5 Changed 9 years ago by Malcolm Tredinnick

Resolution: fixed
Status: assignedclosed

(In [6566]) Fixed #4944 -- Added a note about raising IntegrityError is a
'unique' constraint is violated. Patch from PhiR.

Note: See TracTickets for help on using tickets.
Back to Top