#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 |
Description
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)
Change History (3)
by , 16 years ago
Attachment: | aggregation-class.diff added |
---|
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 12 years ago
Component: | ORM aggregation → Database layer (models, ORM) |
---|
Note:
See TracTickets
for help on using tickets.
Fixed in Github branch, commit 3d7bb1e8c97ef4b5ff66639cfac7e2fa4344b1da. Thanks, Alex.