1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Removed unnecessary numeric indexes in format strings.

This commit is contained in:
Jon Dufresne
2019-11-18 23:29:47 -08:00
committed by Mariusz Felisiak
parent 5cef2cd4a1
commit aa12cf07c9
7 changed files with 8 additions and 8 deletions

View File

@@ -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):