Skip to content

The Token.objects.create returns a tuple (instance, token)#12

Open
srvmux wants to merge 1 commit intobradtraversy:masterfrom
srvmux:patch-1
Open

The Token.objects.create returns a tuple (instance, token)#12
srvmux wants to merge 1 commit intobradtraversy:masterfrom
srvmux:patch-1

Conversation

@srvmux
Copy link

@srvmux srvmux commented May 29, 2019

in order to get the token use [1] because The Token.objects.create returns a tuple (instance, token)

source: https://stackoverflow.com/questions/55668375/object-of-type-authtoken-is-not-json-serializable

in order to get the token use [1] because The Token.objects.create returns a tuple (instance, token)

source: https://stackoverflow.com/questions/55668375/object-of-type-authtoken-is-not-json-serializable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant