Opened 2 years ago

Closed 2 years ago

#22917 closed Bug (fixed)

Typo in AlterIndexTogether.describe method

Reported by: anonymous Owned by: Tim Graham
Component: Migrations Version: master
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 Changed 2 years ago by Baptiste Mispelon

Easy pickings: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

Good catch, thanks.

comment:2 Changed 2 years ago by Tim Graham

Owner: changed from nobody to Tim Graham
Status: newassigned

comment:3 Changed 2 years ago by Tim Graham <timograham@…>

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