Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#10776 closed (fixed)

there should be a link from slugfield description to prepopulated field description

Reported by: ernop Owned by: Tim Graham
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Right after adding slug fields to my models I spent a long time looking for how to prepopulate them, or source them from other fields. I eventually just found prepopulated field randomly.

The link should go from this paragraph

http://docs.djangoproject.com/en/dev/ref/models/fields/#slugfield
to
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#prepopulated-fields

and i suggest text
"If you want to use another field as the source of a slug in the admin system, use prepopulated_fields"

Attachments (1)

10776.diff (10.0 KB) - added by Tim Graham 8 years ago.
also added some metadata targets to docs/contrib/admin/index.txt

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by Alex Gaynor

milestone: 1.1
Triage Stage: UnreviewedAccepted

comment:2 Changed 8 years ago by Tim Graham

Owner: changed from nobody to Tim Graham
Status: newassigned

Changed 8 years ago by Tim Graham

Attachment: 10776.diff added

also added some metadata targets to docs/contrib/admin/index.txt

comment:3 Changed 8 years ago by Tim Graham

Has patch: set

comment:4 Changed 8 years ago by Russell Keith-Magee

Resolution: fixed
Status: assignedclosed

(In [10564]) Fixed #10776 -- Added metadata targets for the contrib.admin docs, and used one of those targets to clarify the SlugField docs. Thanks to ernop for the suggestion, and timo for the patch.

comment:5 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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