authentication.py
12.5 KB
-
Prefetching the user object when getting the token in TokenAuthentication. · 58e7bbc8
Since the user object is fetched 4 lines after getting Token from the database, this removes a DB query for each token-authenticated request.
Ofir Ovadia committed