Changes between Initial Version and Version 1 of Ticket #34944


Ignore:
Timestamp:
Nov 5, 2023, 4:31:39 AM (13 months ago)
Author:
Paolo Melchiorre
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34944 – Description

    initial v1  
    33I do not rule out that there are other examples of use of the generated fields that could lead to the same errors and if they come to mind, please add them in the comments.
    44
    5 == Misinferred attributes
     5=== Misinferred attributes
    66
    77In the common example of a field generated as a concatenation of two CharField in a Model:
     
    4444
    4545
    46 == Missing attributes
     46=== Missing attributes
    4747
    4848If in the previous example, I explicitly specify the output field without attributes, the migration is generated without generating errors:
     
    9393b. request to specify mandatory attributes for the output fields raising an error in the migration creation phase
    9494
    95 == Cumulative proposal
     95=== Cumulative proposal
    9696
    9797To solve both problems shown above, given the little time remaining before the release of the stable version of Django 5, the two most drastic solutions from both of the above proposals could be adopted.
Back to Top