Opened 9 years ago

Closed 9 years ago

Last modified 8 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:

Description

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 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 9 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

comment:3 Changed 9 years ago by anonymous

  • Resolution set to fixed
  • Status changed from reopened to closed

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

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