Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#10076 closed (fixed)

Wrong Documentation for FileField and unique=True

Reported by: tom 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: UI/UX:

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)

filefield_unique.txt (550 bytes) - added by Tim Graham 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by Tim Graham

Attachment: filefield_unique.txt added

comment:1 Changed 8 years ago by Tim Graham

Has patch: set
Needs documentation: unset
Needs tests: unset
Owner: changed from nobody to Tim Graham
Patch needs improvement: unset
Status: newassigned
Triage Stage: UnreviewedReady for checkin

Confirmed

comment:2 Changed 8 years ago by Gary Wilson

Owner: changed from Tim Graham to Gary Wilson
Status: assignednew

comment:3 Changed 8 years ago by Gary Wilson

Status: newassigned

comment:4 Changed 8 years ago by Gary Wilson

Resolution: fixed
Status: assignedclosed

(In [10204]) Fixed #10076 -- Documented invalid arguments for FileField, based on patch from timo.

comment:5 Changed 8 years ago by Gary Wilson

(In [10205]) [1.0.X]: Fixed #10076 -- Documented invalid arguments for FileField, based on patch from timo.

Backport of r10204 from trunk.

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