I'm certainly in favour of not reinventing the wheel here. As a side note,
I would love to have the javascript slugify functionality easily usable
outside the admin.

On 20 December 2014 at 04:51, Berker Peksağ <[email protected]> wrote:
>
> While I'm working on #3729 [1], I had to update current regexes to
> match unicode codepoints. Unfortunately, JavaScript has no proper
> support for unicode character classes, so writing unicode aware regex
> is a bit difficult: http://stackoverflow.com/a/280762
>
> I would like to add XRegexp to django.contrib.admin. It's a popular,
> well tested and small library. It will only be imported if you pass
> ``unicode=True`` to SlugField and define ``prepopulated_fields`` in a
> ModelAdmin.
>
> [1] https://github.com/django/django/pull/3729
>
> --Berker
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/CAF4280KA9FvC082bySLnDCcUQOyJ0nJ5nXJhnO3U6Hy%2BMVVbxQ%40mail.gmail.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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAMwjO1HhWBbZA7XNfAnFFBhra_J6Fe0X4Vz9q4gbHgcqbnZRAg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to