Tuesday, May 10, 2011

Re: Encrpting urls to hide PKs

Sean, are you suggesting that the OP rely on base36 encoding for
security? Please tell me you are joking.

On 10/05/2011 15:32, Sean Brant wrote:
> Sorry I think I only responded to the original poster.
>
> >>> from django.utils.http import int_to_base36, base36_to_int
> >>> int_to_base36(123)
> '3f'
> >>> base36_to_int('3f')
> 123
>
> Sean
>

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate