Changes between Version 1 and Version 2 of Ticket #35424, comment 1


Ignore:
Timestamp:
May 3, 2024, 7:18:28 AM (4 months ago)
Author:
Sarah Boyce

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35424, comment 1

    v1 v2  
    1 Thank you for the report, managed to replicate on main
    2 Given an existing migrated model
     1Thank you for the report, I'm struggling to understand what's happening in your project. There's a number of migrations in there.
     2I don't think I have replicated the issue your seeing, what error do you see?
     3
     4I can find the following possible issue that given an existing migrated model
    35{{{#!python
    46class Foo(models.Model):
     
    1820that generates a migration like
    1921{{{#!python
    20 # Generated by Django 5.1 on 2024-05-03 12:02
    21 
    2222from django.db import migrations
    2323
     
    4646}}}
    4747Which fails with `django.core.exceptions.FieldDoesNotExist: Foo has no field named 'order'`
     48
     49But actually I don't think that's what you're talking about here? Can you reduce it down a bit further?
Back to Top