Opened 10 years ago

Closed 10 years ago

Last modified 6 years ago

#9834 closed (fixed)

Aggregation classes can use class attributes for their type as well

Reported by: Alex Gaynor Owned by:
Component: Database layer (models, ORM) Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


This is another place where class attrs can be used in place of instance ones. This makes the code a bit more readable, and probably slightly more performant as well.

This is being filed against the external aggregation branch.

Attachments (1)

aggregation-class.diff (3.1 KB) - added by Alex Gaynor 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by Alex Gaynor

Attachment: aggregation-class.diff added

comment:1 Changed 10 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

Fixed in Github branch, commit 3d7bb1e8c97ef4b5ff66639cfac7e2fa4344b1da. Thanks, Alex.

comment:2 Changed 6 years ago by Anssi Kääriäinen

Component: ORM aggregationDatabase layer (models, ORM)
Note: See TracTickets for help on using tickets.
Back to Top