Opened 10 years ago

Closed 10 years ago

#22917 closed Bug (fixed)

Typo in AlterIndexTogether.describe method

Reported by: anonymous Owned by: Tim Graham
Component: Migrations Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

# self.self.option_name

def describe(self):

return "Alter %s for %s (%s constraints)" % (self.self.option_name, self.name, len(self.index_together))

https://github.com/django/django/blob/master/django/db/migrations/operations/models.py#L291

Change History (3)

comment:1 by Baptiste Mispelon, 10 years ago

Easy pickings: set
Triage Stage: UnreviewedAccepted

Good catch, thanks.

comment:2 by Tim Graham, 10 years ago

Owner: changed from nobody to Tim Graham
Status: newassigned

comment:3 by Tim Graham <timograham@…>, 10 years ago

Resolution: fixed
Status: assignedclosed

In 54fdf5901ba205daee04a4e4e40a4863e1d2af4c:

[1.7.x] Fixed #22917 -- Fixed typo in AlterIndexTogether.describe().

Backport of 70576740b0 from master

Note: See TracTickets for help on using tickets.
Back to Top