(request)
| 90 | |
| 91 | |
| 92 | def _get_user_session_key(request): |
| 93 | # This value in the session is always serialized to a string, so we need |
| 94 | # to convert it back to Python whenever we access it. |
| 95 | return get_user_model()._meta.pk.to_python(request.session[SESSION_KEY]) |
| 96 | |
| 97 | |
| 98 | async def _aget_user_session_key(request): |
no test coverage detected