mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Removed unnecessary numeric indexes in format strings.
This commit is contained in:
parent
5cef2cd4a1
commit
aa12cf07c9
7 changed files with 8 additions and 8 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue