From: Radek Czajka Date: Fri, 22 Aug 2025 13:34:30 +0000 (+0200) Subject: fix X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/e60aaa73e525b499e6703573539db1f3f1934668?ds=sidebyside;hp=9b46fa5812ae6d152cef155956b435b4ba034df8 fix --- diff --git a/src/social/models.py b/src/social/models.py index e50ff0775..7f22f97d2 100644 --- a/src/social/models.py +++ b/src/social/models.py @@ -337,12 +337,14 @@ class UserList(Syncable, models.Model): favorites=True ) except cls.DoesNotExist: + n = now() if create: return cls.objects.create( user=user, favorites=True, - slug=get_random_hash(name), - updated_at=now() + slug=get_random_hash('favorites'), + updated_at=n, + reported_timestamp=n, ) else: return None