Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit afb60d5

Browse files
committed
F
1 parent 544a2a4 commit afb60d5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎callback/views.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ def auth(request):
3939
email = token['user']['email']
4040
access_token = token['access_token']
4141

42-
# auth , created = Auth.objects.get_or_create(storehash = store_hash)
43-
# auth.user_id = bc_user_id
44-
# auth.mail = email
45-
# auth.storehash = store_hash
46-
# auth.token = access_token
47-
# auth.save()
42+
a , created = Auth.objects.get_or_create(storehash = store_hash)
43+
a.user_id = bc_user_id
44+
a.mail = email
45+
a.storehash = store_hash
46+
a.token = access_token
47+
a.save()
4848

4949
return render(request , 'index.html')
5050

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /