title: Showing all the users who have set their country same as request.user
body: <p>I am building a BlogApp and I am trying to show all the users which set their <code>Countries</code> similar to <code>request.user</code>.</p>
  <blockquote>
  <p>For Example : If <code>user_1</code> is <code>request.user</code> and selected state choice <code>Victoria</code> and country <code>Australia</code> and then <code>user_2</code> registered and set the same state <code>Victoria</code> and country <code>Australia</code>.</p>
  </blockquote>
  <p>So i want to show all the users that have set their <code>Country</code> and <code>state</code> same to <code>request.user</code> BUT When i access these types of users then It is just showing all users of <code>same country</code> BUT it is not showing of <code>same state</code>.</p>
  <p>models.py</p>
  <pre><code>class Profile(models.Model):
      user = models.OneToOneField(User, on_delete=models.CASCADE,default='',unique=True)
      country = models.CharField(max_length=30,null=True,blank=True)
      state = models.CharField(max_length=30,null=True,blank=True)
  </code></pre>
  <p>views.py</p>
  <pre><code>def show_user(request.user):
      show = Profile.objects.filter(country=request.user.profile)
      show_state = Profile.objects.filter(state=request.user.profile)
  
      context = {'show':show,'show_state':show_state}
      return render(request, 'show_user.html', context)
  </code></pre>
  <p>When i try to access <strong>{{ show }}</strong> in template then it shows two user have set their country same to <code>request.user</code>
  BUT
  When i try to access <strong>{{ show_state }}</strong> in template it shows nothing.</p>
  <p>I have no idea, what am i doing wrong in accessing.
  Any help would be Appreciated.
  Thank You in Advance.</p>
  <blockquote>
  <p>Note :- I am using external library to show country and state choices in html.</p>
  </blockquote>