Changes between Initial Version and Version 1 of Ticket #27880, comment 7


Ignore:
Timestamp:
Oct 21, 2024, 8:42:13 AM (4 weeks ago)
Author:
Clifford Gama

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27880, comment 7

    initial v1  
    1 Note that while `Options.contribute_to_class()` is private API, searching `/(?-i)Options/ django.db "def contribute_to_class" -path:django/db path:*py` in GitHub gives about 240 results, some of which implement their own `Options`. These would need to rename `contribute_to_class()` with `__set_name__()` as this change is backward incompatible.
     1Note that while `Options.contribute_to_class()` is private API, searching `/(?-i)Options/ django.db "def contribute_to_class" -path:django/db path:*py` in GitHub gives about [https://github.com/search?q=%2F%28%3F-i%29Options%2F+django.db+%22def+contribute_to_class%22+-path%3Adjango%2Fdb+path%3A*py&type=code&expanded_query=%2F%28%3F-i%29Options%2F+django.db+%22def+contribute_to_class%22+-path%3Adjango%2Fdb+path%3A*py 240 matches], some of which implement their own `Options`. These would need to rename `contribute_to_class()` with `__set_name__()` as this change is backward incompatible.
Back to Top