1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/model_fields
Anssi Kääriäinen 8adc59038c 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.
2015-02-03 09:23:44 -05:00
..
__init__.py
4x8.png
8x4.png
models.py Removed IPAddressField per deprecation timeline; refs #20439. 2015-01-19 11:12:57 -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 Fixed #23617 -- Added get_pk_value_on_save() 2015-02-03 09:23:44 -05:00
tests.py Fixed typos in code comments. 2015-01-20 12:18:03 -05:00