Changes between Initial Version and Version 1 of Ticket #36262
- Timestamp:
- Mar 17, 2025, 9:50:44 AM (5 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36262
- Property Patch needs improvement set
- Property Triage Stage Unreviewed → Accepted
- Property Summary GeneratedField.db_persist has None=True but it's still required to be set and True or False → GeneratedField.db_persist defaults to None but is required to be set as either True or False
- Property Type Uncategorized → Cleanup/optimization
-
TabularUnified Ticket #36262 – Description
initial v1 1 1 **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. 3 3 4 4 **Steps to Reproduce**: