Code

Opened 6 years ago

Closed 6 years ago

Last modified 3 years ago

#7986 closed (fixed)

Documentation for prepopulated_fields isn't very clear

Reported by: frasern 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 frasern 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by frasern

comment:1 Changed 6 years ago by gwilson

  • Resolution set to fixed
  • Status changed from new to closed

(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 3 years ago by jacob

  • milestone 1.0 beta deleted

Milestone 1.0 beta deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.