Bug in django admin: list_editable should be not editable if appear in readonly_fields

40 views
Skip to first unread message

Anton Danilchenko

unread,
May 3, 2014, 8:02:20 AM5/3/14
to django...@googlegroups.com
Hello dev team!

I think that if some field set to readonly_fields than we should display disabled field in list_editable.

Now I have set field "price" into list_editable and readonly_fields. And I see this field not editable in "change view" in admin panel, but I see it editable in "list view".

If field not editable - I should not edit this field in admin site. But, as I can see - I can edit this field in "list view", that creates some problems. Because it isn't what I wan to see.
Reply all
Reply to author
Forward
0 new messages