Changes between Initial Version and Version 1 of Ticket #36262


Ignore:
Timestamp:
Mar 17, 2025, 9:50:44 AM (5 days ago)
Author:
Sarah Boyce
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36262

    • Property Patch needs improvement set
    • Property Triage Stage UnreviewedAccepted
    • Property Summary GeneratedField.db_persist has None=True but it's still required to be set and True or FalseGeneratedField.db_persist defaults to None but is required to be set as either True or False
    • Property Type UncategorizedCleanup/optimization
  • TabularUnified Ticket #36262 – Description

    initial v1  
    11**Description**:
    2 `GeneratedField.db_persist` attribute is set to `None=True`, which implies that the value can be `None`. However, just 4 lines lower in the code, it is required to be either `True` or `False`. This inconsistency leads a developer to believe that it can be left blank but it cannot.
     2`GeneratedField.db_persist` attribute is set to `db_persist=None`, which implies that the value can be `None`. However, just 4 lines lower in the code, it is required to be either `True` or `False`. This inconsistency leads a developer to believe that it can be left blank but it cannot.
    33
    44**Steps to Reproduce**:
Back to Top