Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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)

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

Download all attachments as: .zip

Change History (6)

by Tim Graham, 15 years ago

Attachment: filefield_unique.txt added

comment:1 by Tim Graham, 15 years ago

Has patch: set
Owner: changed from nobody to Tim Graham
Status: newassigned
Triage Stage: UnreviewedReady for checkin

Confirmed

comment:2 by Gary Wilson, 15 years ago

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

comment:3 by Gary Wilson, 15 years ago

Status: newassigned

comment:4 by Gary Wilson, 15 years ago

Resolution: fixed
Status: assignedclosed

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

comment:5 by Gary Wilson, 15 years ago

(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