1
0
mirror of https://github.com/django/django.git synced 2025-01-16 13:22:19 +00:00

3 Commits

Author SHA1 Message Date
Tim Graham
fc1e9107d7 [1.8.x] Added UUIDField.deconstruct()
Backport of 0f54cf28c09a80254571487e3af93be2096cfdac from master
2015-02-05 19:15:37 -05:00
Anssi Kääriäinen
43b0131fb5 [1.8.x] Fixed #23617 -- Added get_pk_value_on_save()
The method is mainly intended for use with UUIDField. For UUIDField we
want to call the field's default even when primary key value is
explicitly set to None to match the behavior of AutoField.

Thanks to Marc Tamlyn and Tim Graham for review.

Backport of 8adc59038cdc6ce4f9170e4de2d716d940e136b3 from master
2015-02-03 09:25:55 -05:00
Marc Tamlyn
ed7821231b Fixed #19463 -- Added UUIDField
Uses native support in postgres, and char(32) on other backends.
2014-09-16 10:08:09 +01:00