Opened 18 years ago
Closed 18 years ago
#5460 closed (fixed)
unique_together should accept a single tuple for convenience
| Reported by: | deryck | Owned by: | deryck |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
While working on #4928 which seems invalid, the idea came up that unique_together should allow a single tuple rather than a tuple of tuples for convenience.
Attachments (1)
Change History (6)
comment:1 by , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 18 years ago
by , 18 years ago
| Attachment: | unique_together_single_tuple.diff added |
|---|
A proper patch now, normalizing unique_together to a tuple of tuples
comment:3 by , 18 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Unreviewed → Ready for checkin |
comment:5 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
gah! I only added a patch for validation, not the feature itself. Working on that now....