Changes between Initial Version and Version 1 of Ticket #12203, comment 28
- Timestamp:
- Feb 4, 2025, 12:29:13 PM (9 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12203, comment 28
initial v1 39 39 User.user_permissions.through._meta.auto_created = True # pylint: disable=protected-access 40 40 User.groups.through._meta.auto_created = True # pylint: disable=protected-access 41 return super()._check_field_spec_item(obj, field_name, label) 41 result = super()._check_field_spec_item(obj, field_name, label) 42 User.user_permissions.through._meta.auto_created = False # pylint: disable=protected-access 43 User.groups.through._meta.auto_created = False # pylint: disable=protected-access 44 return result 42 45 return ThroughModelAdminChecks().check(self, **kwargs) 43 46