diff --git a/wcivf/apps/feedback/models.py b/wcivf/apps/feedback/models.py index 6db73a42d..7f0aa523a 100644 --- a/wcivf/apps/feedback/models.py +++ b/wcivf/apps/feedback/models.py @@ -1,3 +1,4 @@ +import time import uuid from django.conf import settings @@ -18,7 +19,8 @@ def generate_feedback_token(): - return uuid.uuid4().hex + timestamp = str(int(time.time())) + return timestamp + uuid.uuid4().hex class Feedback(TimeStampedModel):