Changes between Initial Version and Version 1 of Ticket #33449
- Timestamp:
- Jan 19, 2022, 5:13:27 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33449 – Description
initial v1 1 The commit [aa4acc1|https://github.com/django/django/commit/aa4acc164d1247c0de515c959f7b09648b57dc42]introduced a new function `ModelState.get_field` in `django.db.migrations.state`.1 The commit https://github.com/django/django/commit/aa4acc164d1247c0de515c959f7b09648b57dc42 introduced a new function `ModelState.get_field` in `django.db.migrations.state`. 2 2 3 3 This converts the field name `_order` to the one defined in `options['order_with_respect_to']` automatically, which fails if the model has a field `_order` but isn't using `Meta.order_with_respect_to`.