1
0
mirror of https://github.com/django/django.git synced 2024-12-28 20:16:19 +00:00
django/tests/model_fields
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 8adc59038c from master
2015-02-03 09:25:55 -05:00
..
__init__.py
4x8.png
8x4.png
models.py Refs #2443 -- Allowed creation of objects with NULL DurationFields 2015-01-07 08:33:26 -05:00
test_durationfield.py Refs #2443 -- Allowed creation of objects with NULL DurationFields 2015-01-07 08:33:26 -05:00
test_field_flags.py Fixed #12663 -- Formalized the Model._meta API for retrieving fields. 2015-01-06 19:25:12 -05:00
test_imagefield.py Fixed a few ResourceWarning in the test suite. Refs #22680. 2014-05-26 03:23:17 +07:00
test_uuid.py [1.8.x] Fixed #23617 -- Added get_pk_value_on_save() 2015-02-03 09:25:55 -05:00
tests.py [1.8.x] Fixed typos in code comments. 2015-01-20 12:18:29 -05:00