Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#7986 closed (fixed)

Documentation for prepopulated_fields isn't very clear

Reported by: Fraser Nevett Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

Description

Presently, the prepopulated_fields documentation doesn't really say what prepopulated_fields actually does. Specifically, it doesn't mention that it is designed for use with SlugFields.

Pre-NFA, this functionality was enabled by the prepoulate_from argument in SlugField. This tight-coupling made what it does more obvious.

I'll attach a patch to clarify the documentation.

Attachments (1)

7986.patch (839 bytes) - added by Fraser Nevett 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Fraser Nevett

Attachment: 7986.patch added

comment:1 Changed 8 years ago by Gary Wilson

Resolution: fixed
Status: newclosed

(In [8109]) Fixed #7986 -- Added to the documentation the purpose of the prepopulated_fields ModelAdmin option now that its no longer just a parameter for SlugField fields, thanks frasern.

comment:2 Changed 5 years ago by Jacob

milestone: 1.0 beta

Milestone 1.0 beta deleted

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