I have an admin class like this:
from tabbed_admin.admin import TabbedModelAdmin
class mlp(TabbedModelAdmin):
model=Book
tab_overview=(
("",{"fields": ('name','status',),}),
)
tabs=(
('Overview',tab_overview),
)
def has_change_permission(self, request, obj=None):
return False
When I try to open that in admin, I get:
"Key 'name' not found in 'BookForm'. Choices are: ."
Any idea what it may be? It works fine with the has_add/delete_permission.
Tks
I have an admin class like this:
When I try to open that in admin, I get:
Any idea what it may be? It works fine with the has_add/delete_permission.
Tks