Opened 12 years ago
Closed 9 years ago
#20203 closed Bug (fixed)
Impossible to have a descriptor named `objects` on an abstract model
Reported by: | Alex Gaynor | Owned by: | Andriy Sokolovskiy |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | me@… | 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
This is because of https://github.com/django/django/blob/master/django/db/models/manager.py#L17 , in general the ORM supports having a different name for the default manager, but this blows up with abstract models, which is sad.
Change History (8)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 11 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:3 by , 9 years ago
Cc: | added |
---|---|
Owner: | set to |
Status: | new → assigned |
Version: | 1.5 → master |
comment:5 by , 9 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:8 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
I'm working on this issue