Changes between Initial Version and Version 1 of Ticket #28385
- Timestamp:
- Jul 11, 2017, 12:31:12 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28385
- Property Triage Stage Unreviewed → Accepted
- Property Summary deserialisers ignore natural keys when primary key has a default value → deserializers ignore natural keys when primary key has a default value
-
Ticket #28385 – Description
initial v1 1 https://github.com/django/django/blob/master/django/core/serializers/base.py#L2232 3 4 1 {{{ 5 2 def build_instance(Model, data, db): … … 19 16 return obj 20 17 }}} 21 18 ([https://github.com/django/django/blob/169c3b3e07829d9ffa409b6eb5c1094d8ef918a8/django/core/serializers/base.py#L223 source on GitHub]) 22 19 23 20 this causes loaddata to fail on second attempt when using natural keys and uuid primary keys as pk is set.