unique_together uses 'iexact' instead of 'exact'
|Reported by:||calvin@…||Owned by:||jacob|
|Cc:||v.oostveen@…, bronger@…||Triage Stage:||Accepted|
|Has patch:||yes||Needs documentation:||yes|
|Needs tests:||no||Patch needs improvement:||yes|
The unique_together flag promises unique entries in a database. However the manipulator deploys case insensitive checks with "iexact" instead of "exact". The attached patch enforces the correct uniqueness check with "exact".
Change History (18)
Changed 7 years ago by calvin@…
comment:1 Changed 7 years ago by SmileyChris
- Component changed from Uncategorized to Admin interface
- Needs documentation unset
- Needs tests unset
- Owner changed from jacob to adrian
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed