ModelAdmin.prepopulated_fields removes stop words

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ModelAdmin.prepopulated_fields removes stop words

Kelly-2
Hello,

I am working on ticket 29351 and I am documenting that ModelAdmin.prepopulated_fields removes stop words. I have looked in the codebase, but I am having trouble finding exactly where this logic is so that I can made the documentation as specific as possible.

Can anyone help pinpoint where the stop words are being filtered out or is just stating that stop words are filtered out sufficient?

Cheers,

Kelly

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/706f3bb8-0e91-4123-be85-960383843c30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: ModelAdmin.prepopulated_fields removes stop words

Collin Anderson-2

On Wed, Apr 25, 2018 at 4:51 PM, Kelly <[hidden email]> wrote:
Hello,

I am working on ticket 29351 and I am documenting that ModelAdmin.prepopulated_fields removes stop words. I have looked in the codebase, but I am having trouble finding exactly where this logic is so that I can made the documentation as specific as possible.

Can anyone help pinpoint where the stop words are being filtered out or is just stating that stop words are filtered out sufficient?

Cheers,

Kelly

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/706f3bb8-0e91-4123-be85-960383843c30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAFO84S7ZBwjYsufzo8j6eFJotaYtTUobb783q2Lv%2Bj%3D%3DvHbf8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: ModelAdmin.prepopulated_fields removes stop words

Kelly-2
Thank you for your help Collin!

On Wednesday, April 25, 2018 at 4:57:17 PM UTC-4, Collin Anderson wrote:
Hi Kelly,

I believe it's in urlify.js <a href="https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/urlify.js#L172-L175" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fdjango%2Fdjango%2Fblob%2Fmaster%2Fdjango%2Fcontrib%2Fadmin%2Fstatic%2Fadmin%2Fjs%2Furlify.js%23L172-L175\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEKe8raQ6kUdUZK2DF5LbLpGm6C2A&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fdjango%2Fdjango%2Fblob%2Fmaster%2Fdjango%2Fcontrib%2Fadmin%2Fstatic%2Fadmin%2Fjs%2Furlify.js%23L172-L175\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEKe8raQ6kUdUZK2DF5LbLpGm6C2A&#39;;return true;">https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/urlify.js#L172-L175

Collin


On Wed, Apr 25, 2018 at 4:51 PM, Kelly <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="atRvqVKGAAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">keh...@...> wrote:
Hello,

I am working on ticket <a href="https://code.djangoproject.com/ticket/29351" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F29351\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH1bidtipyyvZe7nc2cMcp0AnGFLw&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fcode.djangoproject.com%2Fticket%2F29351\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH1bidtipyyvZe7nc2cMcp0AnGFLw&#39;;return true;">29351 and I am documenting that ModelAdmin.prepopulated_fields removes stop words. I have looked in the codebase, but I am having trouble finding exactly where this logic is so that I can made the documentation as specific as possible.

Can anyone help pinpoint where the stop words are being filtered out or is just stating that stop words are filtered out sufficient?

Cheers,

Kelly

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="atRvqVKGAAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">django-develop...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="atRvqVKGAAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">django-d...@googlegroups.com.
Visit this group at <a href="https://groups.google.com/group/django-developers" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/group/django-developers&#39;;return true;">https://groups.google.com/group/django-developers.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/django-developers/706f3bb8-0e91-4123-be85-960383843c30%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/django-developers/706f3bb8-0e91-4123-be85-960383843c30%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/django-developers/706f3bb8-0e91-4123-be85-960383843c30%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/django-developers/706f3bb8-0e91-4123-be85-960383843c30%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/13698be6-8c93-41b0-a8ae-81a793afc5d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.