Mark ForeignKeys as initially deferred references on SQLite3.

Review Request #10269 — Created Oct. 23, 2018 and submitted

chipx86
Django Evolution
master
55dd478...
django-evolution

Up until very recently, SQLite3 offered pretty limited capabilities for
altering tables, necessitating a reconstruction and re-import of data
for tables. The logic for this wasn't retaining any field references for
ForeignKeys. We now add those when constructing non-temporary tables
in SQLite3.

SQLite3 unit tests pass on Django 1.6 through 1.11 and 2.1 (with other
pending changes).

Description From Last Updated

F821 undefined name 'get_remote_field'

reviewbotreviewbot

F821 undefined name 'get_remote_field_model'

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (2fffbf1)
Loading...