[PATCH] __repr__ for instances of Ticket, Attachment, WikiPage etc
|Reported by:||Owned by:|
Model objects now use their name or id as part of their
When working with tracebacks generated by Trac it's often useful to know which ticket/wiki page or milestone was instantiated in a particular variable. However it's not obvious from a repr such as
<Ticket 0xabcdef> what that is.
Attached is a patch that replaces the repr() of model-like classes with one close to that of a Resource e.g.