Opened 11 years ago

Closed 10 years ago

Last modified 9 years ago

#601 closed enhancement (fixed)

Unique_together documentation update

Reported by: Lllama Owned by: Jacob
Component: Documentation Version:
Severity: trivial Keywords: unique_together, unique
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The documentation for unique_together suggests that the constraint is only enforced at the admin site level when in fact it is enforced by the database as well (for PostgreSQL at least).

A quick update to the docs detailing this would aid new users.

Change History (3)

comment:1 Changed 11 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [822]) Fixed #601 -- Updated docs/model-api.txt unique_together section to say it's enforced at the database level.

comment:2 Changed 10 years ago by anonymous

Resolution: fixed
Status: closedreopened

The documentation now claims that it enforces at the DB level, but it doesn't appear to do so for mySQL.

comment:3 Changed 10 years ago by anonymous

Resolution: fixed
Status: reopenedclosed

constraint _does_ work at DB level for mySQL. Ignore previous. Appologies.

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