Opened 15 years ago

Closed 15 years ago

Last modified 13 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: no UI/UX: no

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 15 years ago.
also added some metadata targets to docs/contrib/admin/index.txt

Download all attachments as: .zip

Change History (6)

comment:1 by Alex Gaynor, 15 years ago

milestone: 1.1
Triage Stage: UnreviewedAccepted

comment:2 by Tim Graham, 15 years ago

Owner: changed from nobody to Tim Graham
Status: newassigned

by Tim Graham, 15 years ago

Attachment: 10776.diff added

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

comment:3 by Tim Graham, 15 years ago

Has patch: set

comment:4 by Russell Keith-Magee, 15 years ago

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 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

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