@must_be_logged_in
def personal_access_token_register(auth, **kwargs):
 token_list_url = api_v2_url('tokens/')
 return {'token_list_url': token_list_url, 'token_detail_url': '', 'scope_options': get_available_scopes()}

@ must_be_logged_in def personal_access_token_register ( auth , ** kwargs ) : token_list_url = api_v2_url ( 'tokens/' ) return { 'token_list_url' : token_list_url , 'token_detail_url' : '' , 'scope_options' : get_available_scopes ( ) }
register a personal access token: blank form view .