mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #20836 -- Ensure that the ForeignKey's to_field attribute is properly considered by the admin's interface when creating related objects.
Many thanks to Collin Anderson for the report and patch and to Peter Sheats for the test.
This commit is contained in:
@@ -43,3 +43,5 @@ site.register(models.Bee)
|
||||
site.register(models.Advisor)
|
||||
|
||||
site.register(models.School, SchoolAdmin)
|
||||
|
||||
site.register(models.Profile)
|
||||
Reference in New Issue
Block a user