BHTOM-Team / bhtom2

6 stars 2 forks source link

Managing Groups should allow for adding/moving to groups #89

Open wyrzykow opened 11 months ago

wyrzykow commented 11 months ago

Within TargetDetail, there is tab ManageGroups. Now it only allows to see which groups this target belongs to and maybe remove it from that group. It should be possible also to add this target to existing groups, using a similar form as in the TargetList, but just for this single target.

I tried it and only managed to copy the form from targetlist and changed target_groups tag in targets_extras.py to return additional content, groupings = TargetList.objects.all(). But I failed to successfully add single target to the group. Abandoned this for now.