In the book the examples for using uuid as a unique field in a table shows:

Field('uuid', length=64, default=lambda:str(uuid.uuid4())),

I have been using this for a long time without really thinking about
it.  The uuid-strings generated has the length of 36.

So why the 'length=64'?

Regards
Johann



-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to