> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
uuid4().hex[:30] is almost as random as uuid4().hex
There are no timers, MAC addresses, or other non-random sections in a
UUID4, so taking any 30-character slice from it should get you 120
bits of pure random goodness.
--
Regards,
Ian Clelland
<clel...@gmail.com>