title: django: how to display choices in form's ChoiceField depending on the current user's data
body: <p>I have the following form with 4 fields:</p>
  
  <pre><code>from django import forms
  from django.apps import apps
  
  from .models import Task
  
  CustomUser = apps.get_model('users', 'CustomUser')
  
  students = CustomUser.objects.filter(status='student')
  students_choices = [(student.username, student) for student in students]
  
  
  class AddTaskForm(forms.ModelForm):
      class Meta:
          model = Task
          fields = ('title', 'description', 'deadline', 'student')
          widgets = {
              'deadline': forms.SelectDateWidget(),
          }
  
      student = forms.ChoiceField(choices=students_choices)
  </code></pre>
  
  <p>The "student" field will display the choices with all users with status "student". But what if I want the queryset to be:</p>
  
  <pre><code>students = CustomUser.objects.filter(status='student', username__in=user.students.split())
  </code></pre>
  
  <p>How can I get user here?</p>