Open iwalucas opened 5 years ago
I am having the same problem as @iwalucas .
Do you have a possible workaround for this?
Same here, any ideas?
@BestCaseManagement @JacoBezuidenhout @iwalucas Not sure if this is a correct solution but for user with view only permissions I have to override get_form TabbedModelAdmin with change = False, here is my code snipe:
def get_form(self, request, obj=None, change=False, **kwargs):
request._obj_ = obj
return super(RoomAdmin, self).get_form(request, obj, **kwargs)
If you'r able to find a better solution please share with us.
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