Changes between Initial Version and Version 1 of Ticket #24573


Ignore:
Timestamp:
Apr 2, 2015, 7:36:10 PM (9 years ago)
Author:
Tomasz Główka
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24573 – Description

    initial v1  
    11When removing field of base class model in my migration and than using `RunPython` with subclass model query I face exception `django.db.utils.OperationalError: (1054, "Unknown column 'bugapp_person.name' in 'field list'")`.  It looks like during migrating, current migration  state of submodel does not reflect field removal. Base class is alright though. Additionally, this happens only when at least one extra model with OTO field to base model exists.
    22
    3 This occurs in Django 1.8. I had no problem with any of 1.7.x version, last tested was 1.7.7.  Simplified snippet attached below runs smoothly with version 1.7 and should reproduce the error in 1.8.
     3This occurs in Django 1.8. I had no problem with any of 1.7.x (1.7.7 recently).  Simplified snippet attached below runs smoothly with  1.7 and should reproduce the error under 1.8.
    44
    55
Back to Top