Changes between Version 1 and Version 2 of Ticket #35827, comment 6
- Timestamp:
- Oct 11, 2024, 3:19:28 AM (5 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35827, comment 6
v1 v2 1 #27880 by replacing `Options.contribute_to_class()` with `Options.__set_name__()` allows `_meta` to be added when the model class is created . If that gets added then `__init_subclass__()` will be supported; or rather, the correct `_meta` will be accessible to `__init_subclass__()`.1 #27880 by replacing `Options.contribute_to_class()` with `Options.__set_name__()` allows `_meta` to be added when the model class is created (`type.__new__()` in `ModelBase`). If that gets added then `__init_subclass__()` will be supported; or rather, the correct `_meta` will be accessible to `__init_subclass__()`.