mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-22 17:16:34 +03:00
fixed pep8 error in social_serializers
fixed pep8 error in social_serializers which cause documentation build error
This commit is contained in:
parent
ee9e848694
commit
b2edfffc91
|
@ -58,8 +58,8 @@ class TwitterLoginSerializer(serializers.Serializer):
|
||||||
raise serializers.ValidationError('Incorrect input. access_token and token_secret are required.')
|
raise serializers.ValidationError('Incorrect input. access_token and token_secret are required.')
|
||||||
|
|
||||||
request.session['oauth_api.twitter.com_access_token'] = {
|
request.session['oauth_api.twitter.com_access_token'] = {
|
||||||
'oauth_token': access_token,
|
'oauth_token': access_token,
|
||||||
'oauth_token_secret': token_secret,
|
'oauth_token_secret': token_secret,
|
||||||
}
|
}
|
||||||
token = SocialToken(token=access_token, token_secret=token_secret)
|
token = SocialToken(token=access_token, token_secret=token_secret)
|
||||||
token.app = app
|
token.app = app
|
||||||
|
|
Loading…
Reference in New Issue
Block a user