Django how to add data to Object from queryset
问题 I would like show list of clients and show tags assigned to them but I have problem because I have my tags in other table and I dont know how to connect data together. Clients can have couple of tags or none of that. Which way is correct to do this? Can you advice me something? I need one variable with tags separated comma or objects with tags which I can use in template engine. Views.py: @user_passes_test(lambda u: u.is_staff, login_url='/account/login/') def client_list(request): dict = {}