diff --git a/user_profile/models.py b/user_profile/models.py index a91a9ee..5dd3477 100644 --- a/user_profile/models.py +++ b/user_profile/models.py @@ -7,10 +7,10 @@ from django.dispatch import receiver from django.db.models.signals import post_save def _create_unique_string(): - time = f"pucko {timezone.now} prutt" - m = hashlib.blake2s() - m.update(str.encode(time)) - return m.hexdigest()[16:52] + time = f"pucko {timezone.now()} prutt" + m = hashlib.blake2s() + m.update(str.encode(time)) + return m.hexdigest()[16:52] class User_Profile(models.Model):