On 1/29/07, omat * gezgin.com <[EMAIL PROTECTED]> wrote: > > About a year ago, there had been a discussion on a similar topic: > http://groups.google.com/group/django-users/browse_thread/thread/ > 006108ff1b23c36c > > But most of the important points were left unanswered. The topic is > expired, so I am starting a new one. > > I think it is very important to be able to override the way the slug > fields are generated. Dropping a non-ascii character should be done > only if the character could not be mapped to its ascii cousin (ie. é - > > e), both for generating more readable slugs and for reducing the > frequency duplicate slugs. > > But, I couldn't find where and how the slug fields are generated in > the Django code. > > > Thanks for any comments... > omat
You're looking for django/contrib/admin/media/js/urlify.js For its invocation, check out the django.contrib.admin.templatetags.admin_modify.auto_populated_field_script template tag, as used in django/contrib/admin/templates/admin/change_form.html Jonathan. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---