[Django] #29351: Some words not detected when using prepolated_fields

3 views
Skip to first unread message

Django

unread,
Apr 21, 2018, 4:00:38 PM4/21/18
to django-...@googlegroups.com
#29351: Some words not detected when using prepolated_fields
-------------------------------------+-------------------------------------
Reporter: ytechCode | Owner: nobody
Type: Bug | Status: new
Component: | Version: 2.0
Uncategorized | Keywords: prepopulated_fields
Severity: Normal | , admin.py, slug, auto
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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 ^^

--
Ticket URL: <https://code.djangoproject.com/ticket/29351>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 21, 2018, 4:01:25 PM4/21/18
to django-...@googlegroups.com
#29351: Some words not detected when using prepolated_fields
-------------------------------------+-------------------------------------
Reporter: ytechCode | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 2.0
Severity: Normal | Resolution:
Keywords: prepopulated_fields | Triage Stage:
, admin.py, slug, auto | Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by ytechCode):

* Attachment "ScreenShot_20180421220051.png" added.

Screenshot of the bug

Django

unread,
Apr 22, 2018, 9:22:25 PM4/22/18
to django-...@googlegroups.com
#29351: Document that ModelAdmin.prepopulated_fields removes stop words

-------------------------------------+-------------------------------------
Reporter: ytechCode | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 2.0
Severity: Normal | Resolution:
Keywords: prepopulated_fields | Triage Stage: Accepted
, admin.py, slug, auto |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* type: Bug => Cleanup/optimization
* component: Uncategorized => Documentation
* stage: Unreviewed => Accepted


Comment:

This is expected behavior but it isn't documented.

--
Ticket URL: <https://code.djangoproject.com/ticket/29351#comment:1>

Django

unread,
Apr 22, 2018, 11:50:24 PM4/22/18
to django-...@googlegroups.com
#29351: Document that ModelAdmin.prepopulated_fields removes stop words
-------------------------------------+-------------------------------------
Reporter: ytechCode | Owner: Kelly
Type: | Hogan
Cleanup/optimization | Status: assigned

Component: Documentation | Version: 2.0
Severity: Normal | Resolution:
Keywords: prepopulated_fields | Triage Stage: Accepted
, admin.py, slug, auto |
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Kelly Hogan):

* owner: nobody => Kelly Hogan
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/29351#comment:2>

Django

unread,
Apr 28, 2018, 7:25:16 PM4/28/18
to django-...@googlegroups.com
#29351: Document that ModelAdmin.prepopulated_fields removes stop words
-------------------------------------+-------------------------------------
Reporter: ytechCode | Owner: Kelly
Type: | Hogan
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 2.0
Severity: Normal | Resolution:
Keywords: prepopulated_fields | Triage Stage: Accepted
, admin.py, slug, auto |
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Kelly Hogan):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/9907 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/29351#comment:3>

Django

unread,
May 2, 2018, 3:21:58 AM5/2/18
to django-...@googlegroups.com
#29351: Document that ModelAdmin.prepopulated_fields removes stop words
-------------------------------------+-------------------------------------
Reporter: ytechCode | Owner: Kelly
Type: | Hogan
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 2.0
Severity: Normal | Resolution:
Keywords: prepopulated_fields | Triage Stage: Ready for
, admin.py, slug, auto | checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/29351#comment:4>

Django

unread,
May 2, 2018, 9:33:14 PM5/2/18
to django-...@googlegroups.com
#29351: Document that ModelAdmin.prepopulated_fields removes stop words
-------------------------------------+-------------------------------------
Reporter: ytechCode | Owner: Kelly
Type: | Hogan
Cleanup/optimization | Status: closed
Component: Documentation | Version: 2.0
Severity: Normal | Resolution: fixed

Keywords: prepopulated_fields | Triage Stage: Ready for
, admin.py, slug, auto | checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"02114f9c49a1cad3f7fe86fe36fcda18632ffb7e" 02114f9c]:
{{{
#!CommitTicketReference repository=""
revision="02114f9c49a1cad3f7fe86fe36fcda18632ffb7e"
[2.0.x] Fixed #29351 -- Doc'd that ModelAdmin.prepopulated_fields removes
stop words.

Backport of 9e861859366bfe60b584b7737a706031eed4c0aa from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29351#comment:6>

Django

unread,
May 2, 2018, 9:33:15 PM5/2/18
to django-...@googlegroups.com
#29351: Document that ModelAdmin.prepopulated_fields removes stop words
-------------------------------------+-------------------------------------
Reporter: ytechCode | Owner: Kelly
Type: | Hogan
Cleanup/optimization | Status: closed
Component: Documentation | Version: 2.0
Severity: Normal | Resolution: fixed
Keywords: prepopulated_fields | Triage Stage: Ready for
, admin.py, slug, auto | checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"9e861859366bfe60b584b7737a706031eed4c0aa" 9e861859]:
{{{
#!CommitTicketReference repository=""
revision="9e861859366bfe60b584b7737a706031eed4c0aa"


Fixed #29351 -- Doc'd that ModelAdmin.prepopulated_fields removes stop
words.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/29351#comment:5>

Reply all
Reply to author
Forward
0 new messages