Opened 4 years ago

Last modified 4 years ago

#32458 closed Cleanup/optimization

Make Index and Constraint __repr__ consistent. — at Version 3

Reported by: Hannes Ljungberg Owned by: Hannes Ljungberg
Component: Database layer (models, ORM) Version: 4.0
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Hannes Ljungberg)

Index, UniqueConstraint, ExclusionConstraint and CheckConstraint currently have slightly different formatting on their __repr__ methods. We should keep them consistent.

Change History (3)

comment:1 by Mariusz Felisiak, 4 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Mariusz Felisiak, 4 years ago

Patch needs improvement: set

comment:3 by Hannes Ljungberg, 4 years ago

Description: modified (diff)
Summary: Make class based Indexes and Constraints have a consistent reprMake Index and Constraint __repr__ consistent.
Note: See TracTickets for help on using tickets.
Back to Top