#5413: prepopulate_from strange behavior
-------------------------------------------+--------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: closed | Component: Admin
interface
Version: SVN | Resolution: invalid
Keywords: slugfield, prepopulate_from | Stage: Unreviewed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-------------------------------------------+--------------------------------
Changes (by ubernostrum):
* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0
Comment:
The script which transforms the value into a slug also removes common
"stop words" such as "the", "an", and -- important in your case -- "a". If
you need to preserve the "a", simply enter it manually.
The slug will not be automatically changed when you later edit the object
because it is assumed that the slug is used as part of a URL, and URLs are
not meant to be automatically changed -- doing so would break any link
back to the original URL.
--
Ticket URL: <http://code.djangoproject.com/ticket/5413#comment:1>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---