#29351 closed Cleanup/optimization (fixed)
Document that ModelAdmin.prepopulated_fields removes stop words
Reported by: | ytechCode | Owned by: | Kelly Hogan |
---|---|---|---|
Component: | Documentation | Version: | 2.0 |
Severity: | Normal | Keywords: | prepopulated_fields, admin.py, slug, auto |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi,
When I use this :
prepopulated_fields = {'slug': ('title',)}
if I write in the admin dashboard, in the title field something like 'The sun is shinning' the output in the slug field is 'sun-shinning'
PS : Sorry for my bad english
Attachments (1)
Change History (7)
by , 7 years ago
Attachment: | ScreenShot_20180421220051.png added |
---|
comment:1 by , 7 years ago
Component: | Uncategorized → Documentation |
---|---|
Summary: | Some words not detected when using prepolated_fields → Document that ModelAdmin.prepopulated_fields removes stop words |
Triage Stage: | Unreviewed → Accepted |
Type: | Bug → Cleanup/optimization |
This is expected behavior but it isn't documented.
comment:2 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 7 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
Screenshot of the bug