django-stubs
django-stubs copied to clipboard
Add `django.db.models.fields.related.ForeignObject` missing methods and attributes
I have made things!
Some of the Django 5.0 updates were missing from the related classes, so I added them referring to the allowlist_todo.
If you need any additional work, please let me know and I'll work on it right away. Thank you :)
django.db.models.ForeignObject
django.db.models.ForeignObject
- [x]
django.db.models.ForeignObject.__copy__
- [x]
django.db.models.ForeignObject.contribute_to_related_class
- [x]
django.db.models.ForeignObject.forward_related_accessor_class
- [x]
django.db.models.ForeignObject.get_class_lookups
- [x]
django.db.models.ForeignObject.get_extra_descriptor_filter
- [x]
django.db.models.ForeignObject.get_foreign_related_value
- [x]
django.db.models.ForeignObject.get_instance_value_for_fields
- [x]
django.db.models.ForeignObject.get_joining_columns
- [x]
django.db.models.ForeignObject.get_local_related_value
- [x]
django.db.models.ForeignObject.get_path_info
- [x]
django.db.models.ForeignObject.get_reverse_joining_columns
- [x]
django.db.models.ForeignObject.get_reverse_path_info
- [x]
django.db.models.ForeignObject.related_accessor_class
- [x]
django.db.models.ForeignObject.requires_unique_target
Related issues
- https://github.com/typeddjango/django-stubs/pull/2151