title: django form filter field queryset
body: <p>How do I filter form's field queryset? After a little search I found that this way it's done. But I am getting an error here.</p>
  <pre><code>class TbPeopleEntranceRightForm(forms.ModelForm):
  
      def __init__(self, user=None, *args, **kwargs):
          self.user = user
          super().__init__(*args, **kwargs)
          print(self.user)
          self.fields['user'].queryset = self.user
  
      class Meta:
          model = TbPeopleEntranceRight
          fields = ['user', 'area', 'room']
  
  </code></pre>
  <p><code>'TbUser' object has no attribute 'all'</code></p>