length of a uuid-field

37 views
Skip to first unread message

Johann Spies

unread,
Feb 12, 2013, 8:53:02 AM2/12/13
to web...@googlegroups.com
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)

Massimo Di Pierro

unread,
Feb 12, 2013, 12:15:34 PM2/12/13
to web...@googlegroups.com
It is an example. You can change it.
Reply all
Reply to author
Forward
0 new messages