#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: | no | UI/UX: | no |
Description
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.
Thanks.
Change History (2)
comment:1 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Cc: | 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 :)
Nope, for example the slug for "the quick brown fox" would be "the-quick-brown-fox".