Changes between Initial Version and Version 1 of Ticket #35748
- Timestamp:
- Sep 9, 2024, 8:52:05 AM (2 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35748 – Description
initial v1 1 1 The [https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.Field.formfield current documentation] only states that a form field should be returned. `None` is also an allowed return value, [https://github.com/django/django/blob/cdbd31960e0cf41063b3efac97292ee0ccc262bb/django/db/models/fields/__init__.py#L2828-L2829 as used by AutoFieldMixin], used to [https://github.com/django/django/blob/cdbd31960e0cf41063b3efac97292ee0ccc262bb/django/forms/models.py#L236-L248 ignore the field] when constructing the model form. 2 3 (Updating django-stubs types [https://github.com/typeddjango/django-stubs/pull/2363 in this PR].)