title: How to set a value of a variable in queryset using(alias) in apiview class
body: <p>I'm able to fetch the values from the table with in the database named '11' by using the below line of code.</p>
  
  <pre><code>queryset = JobSeekers.objects.using("11").all()
  </code></pre>
  
  <p>Now i would like to to pass the variable instead of static alias name. (here i'm using a global variable 'IdentificationNumber' which is getting set in AuthBackends.py)</p>
  
  <pre><code>class GetCanidatesList(generics.ListAPIView):
      authorizedID = str(AuthBackends.IdentificationNumber)
      queryset = JobSeekers.objects.using(authorizedID).all()
      serializer_class = CandidatesSerializer
      name = 'candidates-list'
  </code></pre>
  
  <p>I'm new to Django. Is that possible? Please help me.
  Thanks in advance.</p>