aboutsummaryrefslogtreecommitdiffstats
path: root/api/models.py
diff options
context:
space:
mode:
authorGravatar Hasan-Ahmad <[email protected]>2018-10-15 21:45:21 +0100
committerGravatar Hasan-Ahmad <[email protected]>2018-10-15 21:45:21 +0100
commite0298cdbd1f1a4fdd1963c93ea271cb52fb5c923 (patch)
treebc4d2191dd3200abcd034e1bf8e4fa28e05965a1 /api/models.py
parentFixed ordering, switched to ListModelMixin (diff)
Fixed import order and linting
Diffstat (limited to 'api/models.py')
-rw-r--r--api/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/models.py b/api/models.py
index c37417eb..7c9b63f5 100644
--- a/api/models.py
+++ b/api/models.py
@@ -70,7 +70,7 @@ class SnakeFact(ModelReprMixin, models.Model):
)
def __str__(self):
- return f"{self.fact}"
+ return self.fact
class SnakeName(ModelReprMixin, models.Model):