We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb143c0 commit 38d4dacCopy full SHA for 38d4dac
models.py
@@ -29,4 +29,4 @@ def validate_rating(self, key, value):
29
return value
30
31
def __str__(self):
32
- return f"{self.user_name} reviewed restaurant with ID {self.restaurant}"
+ return f"{self.user_name}: {self.review_date:%x}"
0 commit comments