[Answer]-Django restful framework's request.user has two different type and different value?

1👍

class 'django.utils.functional.SimpleLazyObject' is a type of promise. When evaluated, it will act as a proxy to the delayed object. There’s nothing wrong here; django uses this type in a lot of places to implement laziness.

👤Marcin

Leave a comment