mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed #26387 -- Restored the functionality of the admin's raw_id_fields in list_editable.
This commit is contained in:
parent
8550566af6
commit
acfaec3db5
6 changed files with 39 additions and 8 deletions
|
@ -1007,5 +1007,13 @@ site.register(Group, GroupAdmin)
|
|||
site2 = admin.AdminSite(name="namespaced_admin")
|
||||
site2.register(User, UserAdmin)
|
||||
site2.register(Group, GroupAdmin)
|
||||
site2.register(ParentWithUUIDPK)
|
||||
site2.register(
|
||||
RelatedWithUUIDPKModel,
|
||||
list_display=['pk', 'parent'],
|
||||
list_editable=['parent'],
|
||||
raw_id_fields=['parent'],
|
||||
)
|
||||
|
||||
site7 = admin.AdminSite(name="admin7")
|
||||
site7.register(Article, ArticleAdmin2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue