title: Django multiple User groups
body: <p>Ok, so I have multiple users, and they belong to one, or more than one user group(I have 4 groups).</p>
  
  <p>Each group has its own bootstrap card which shows on the HTML page.</p>
  
  <p>How can I show 1,2,3 or more cards, depending on the user group? </p>
  
  <p>If a user is in group1, I want to render card1, but if user is in group1 AND group2, I want to render card1 and card2, etc.</p>
  
  <p>I tried {% if request.user.is_superuser %} and {%if 'group name' in user.groups.all.0.name %}, but that applies well only if a user is in one group. </p>
  
  <p>Thanks.</p>