On Monday, August 19, 2013 12:14:48 AM UTC+2, Jonathan Lundell wrote:
>
> On 18 Aug 2013, at 2:22 PM, Niphlod <nip...@gmail.com <javascript:>> 
> wrote:
>
> i like django-urlify and slughify module structure better ... 
> unicodedecode is yet another module that fiddles heavily with imports (it's 
> 118 files) and I don't see it included in contrib if we're going to include 
> its logic in IS_SLUG()...
>
>
> The fiddling is pretty straightforward, just lazy imports of blocks of 
> characters. Which makes sense. OTOH, its intention is slightly different 
> from other slugifiers:
>
> from unidecode import unidecode:
> unidecode(u"北亰")
> "Bei Jing "
>
> ...it *is* sorta cool.
>
>
totally agree, but the module including the mappings as dict in one file as 
in hex_storage I think lands the same result, and it's only one file vs 118 
to ship in contrib....  

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to