Code

Opened 15 months ago

Last modified 14 months ago

#20203 new Bug

Impossible to have a descriptor named `objects` on an abstract model

Reported by: Alex Owned by:
Component: Database layer (models, ORM) Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no 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.

Attachments (0)

Change History (2)

comment:1 Changed 14 months ago by elektrrrus

  • Owner changed from nobody to elektrrrus
  • Status changed from new to assigned

comment:2 Changed 14 months ago by elektrrrus

  • Owner elektrrrus deleted
  • Status changed from assigned to new

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new
The owner will be changed from (none) to anonymous. Next status will be 'assigned'
as The resolution will be set. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.