On Mon, Sep 10, 2012 at 12:31 AM, Anton Popovine <[email protected]> wrote: > Yes it needs to be short. This will be an invitation string most likely > written on a chalk board for kids. > > Also there was an error in my initial post : I forgot to increment size += 1 > inside the while loop. Noticed right after posting. > > thanks >
Have you considered just using a base 36 of the object id? http://en.wikipedia.org/wiki/Base_36 Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en.

