Changes between Initial Version and Version 1 of Ticket #36365


Ignore:
Timestamp:
May 3, 2025, 3:25:45 PM (4 months ago)
Author:
Ramon
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36365 – Description

    initial v1  
    11Django admin filter_horizontal for manytomany field should show all existing relations in the right-side pane, even when formfield_for_manytomany updates the queryset to not show that relation in the left-side pane. It is misleading to the user to not show the existing relation.
    22
    3 Working example attached.
     3Working example attached (example.zip).
    44Database: club, member, team.
    55member and team belong to one club
     
    77member can transfer to another club, causing the issue.
    88
     9admin.py contains two versions of the team admin model (1 and 2)
     10Screenshots for each admin model usage are attached.
    911
Back to Top