title: Django Token Issue and Scopes
body: <p>I am developing an API which will be used by various level of users. This API is authenticated using Django OAuth2. Now what i want is to restrict the use of views based on scope. So if there is a view that performs some search then required scope should be 'search'. </p>
  
  <p>For this purpose Django does provide class based views where we just fill a list of required_scopes. However the issue is i want to restrict the scope of token while issuing them. </p>
  
  <p>So when a user request for a token I want to check the user who has requested the token and then add scopes accordingly. I do not know how to manipulate these scopes.</p>
  
  <p>Please i really require help on this. I have been stuck on it for a long time</p>
  
  <p>Thanx in advance</p>