Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#11901 closed (invalid)

Minor mistake in the ModelAdmin.prepopulated_fields docs

Reported by: djm Owned by: nobody
Component: Documentation Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


2nd paragraph after the code block:

"The generated value is produced by concatenating the values of the source fields, and then by transforming that result into a valid slug (e.g. substituting dashes for spaces)."

I think the words are the wrong way around, as in, to make a slug you substitute spaces for dashes and not vice versa.


Change History (2)

comment:1 Changed 7 years ago by Tim Graham

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: invalid
Status: newclosed

Nope, for example the slug for "the quick brown fox" would be "the-quick-brown-fox".

comment:2 Changed 7 years ago by djm

Cc: mail@… removed

I'm not sure how I managed to make that simple English mistake in my head last night but my mind was set in stone that it read incorrectly. It doesn't and I need to go to bed earlier :)

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