Excellent, I was looking for a good use of this. ...
drawk · 2008-10-14T15:55:00
Excellent, I was looking for a good use of this. I am using UUIDs for keys and was having an issue using it in Django with default. And the django-extensions UUIDField was having an issue with auto. So I got uuidgen and now call uuidgen.generate() in the presave of an object to provide this. Otherwise when it is used as default it pulls the same value when editing classes in the django admin. btw, using UUIDs due to the size of the data and replication.
A similar technique is used in django-command-exte...
I just linked to this example as a positive contri...
Steve · 2011-10-26T23:48:08.540000
I just linked to this example as a positive contribution to encourage the Ypit guys, who after two years must have a wealth of stuff to share. Go, Ypit!.
Ah, the smell of the startup, the roar of the crowd.
Excellent, I was looking for a good use of this. ...
drawk · 2008-10-14T15:55:00
Excellent, I was looking for a good use of this. I am using UUIDs for keys and was having an issue using it in Django with default. And the django-extensions UUIDField was having an issue with auto. So I got uuidgen and now call uuidgen.generate() in the presave of an object to provide this. Otherwise when it is used as default it pulls the same value when editing classes in the django admin. btw, using UUIDs due to the size of the data and replication.A similar technique is used in django-command-exte...
Anonymous · 2008-10-22T18:53:00
A similar technique is used in django-command-extensions's CreationDateTimeField and ModificationDateTimeField do. It also defines a handy TimeStampedModel ABC model that already contains fields of both types.I just linked to this example as a positive contri...
Steve · 2011-10-26T23:48:08.540000
I just linked to this example as a positive contribution to encourage the Ypit guys, who after two years must have a wealth of stuff to share. Go, Ypit!.Ah, the smell of the startup, the roar of the crowd.
Page 1 of 1
Back to post