Changes between Initial Version and Version 1 of Ticket #28385


Ignore:
Timestamp:
07/11/2017 12:31:12 PM (2 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28385

    • Property Triage Stage changed from Unreviewed to Accepted
    • Property Summary changed from deserialisers ignore natural keys when primary key has a default value to 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#L223
    2 
    3 
    41{{{
    52def build_instance(Model, data, db):
     
    1916    return obj
    2017}}}
    21 
     18([https://github.com/django/django/blob/169c3b3e07829d9ffa409b6eb5c1094d8ef918a8/django/core/serializers/base.py#L223 source on GitHub])
    2219
    2320this causes loaddata to fail on second attempt when using natural keys and uuid primary keys as pk is set.
Back to Top