User session tracking #93587

Merged
Oleg-Komarov merged 18 commits from user-session into main 2024-08-02 16:04:09 +02:00
Showing only changes of commit 72a75023c8 - Show all commits

View File

@ -666,7 +666,6 @@ class UserSession(models.Model):
)
@classmethod
@transaction.atomic
def update_or_create_from_request(cls, request, user=None):
if not user:
user = request.user