summaryrefslogtreecommitdiff
path: root/tests/db_functions
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-11-18 23:29:47 -0800
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-11-19 08:29:47 +0100
commitaa12cf07c9202e117712abe2621d901dd6dd94b4 (patch)
tree86f2cda8929755fcd8d1c27085c87946b9774150 /tests/db_functions
parent5cef2cd4a10e51035e2728e3e5e59265bc0347e0 (diff)
downloaddjango-aa12cf07c9202e117712abe2621d901dd6dd94b4.tar.gz
Removed unnecessary numeric indexes in format strings.
Diffstat (limited to 'tests/db_functions')
-rw-r--r--tests/db_functions/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/db_functions/models.py b/tests/db_functions/models.py
index 083655e80f..0deea8f54c 100644
--- a/tests/db_functions/models.py
+++ b/tests/db_functions/models.py
@@ -49,7 +49,7 @@ class DTModel(models.Model):
duration = models.DurationField(null=True, blank=True)
def __str__(self):
- return 'DTModel({0})'.format(self.name)
+ return 'DTModel({})'.format(self.name)
class DecimalModel(models.Model):