Opened 18 years ago
Closed 17 years ago
#4759 closed (duplicate)
[newforms-admin] fixed a bug, admin class has no 'manager' attribute
Description ¶
First you need Ticket #4587, so you has model._meta.admin
,
but admin class has no attribute named 'manager', and this patch fixed this.
- self.lookup_choices = model._meta.admin.manager.distinct().order_by(f.name).values(f.name) + self.lookup_choices = model._meta.admin(model).queryset(request).distinct().order_by(f.name).values(f.name)
Change History (2)
by , 18 years ago
Attachment: | there_is_no_admin_manager.patch added |
---|
comment:1 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
the patch itself.