djangosnippets.org: Latest snippets posted by kedarhttps://djangosnippets.org/users/kedar/2014-03-06T12:02:47.514647-06:00kedarautogenerated UUID model field
2014-03-06T12:02:47.514647-06:00kedarhttps://djangosnippets.org/snippets/3034/<p>Provides UUIDField for your models. This version creates very short UUID represenation (21 chars) when the record is added eg. in admin. Generated ids are safe to be used in URLs.</p>
<p>You can put represent it in admin as </p>
<p>'readonly_fields=("uuid",)'</p>
Freely redistributable