#10076 closed (fixed)
Wrong Documentation for FileField and unique=True
| Reported by: | Thomas Bechtold | Owned by: | Gary Wilson |
|---|---|---|---|
| Component: | Documentation | Version: | 1.0 |
| Severity: | Keywords: | FileField, Documentation, Unique | |
| 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
For the Option unique, there is the following sentence:
"This options is valid on all field types except ManyToManyField." . See http://docs.djangoproject.com/en/dev/ref/models/fields/#unique
But i can not use the unique-Option with FileFields. See http://code.djangoproject.com/wiki/FileStorageRefactor
So the Documentation is wrong.
Attachments (1)
Change History (6)
by , 17 years ago
| Attachment: | filefield_unique.txt added |
|---|
comment:1 by , 17 years ago
| Has patch: | set |
|---|---|
| Owner: | changed from to |
| Status: | new → assigned |
| Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 17 years ago
| Owner: | changed from to |
|---|---|
| Status: | assigned → new |
comment:3 by , 17 years ago
| Status: | new → assigned |
|---|
comment:4 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:5 by , 17 years ago
Note:
See TracTickets
for help on using tickets.
Confirmed