Conversation
|
@OskarPersson i'm testing it, and still having the same output. EDIT: I set up a Breakpoint at line 100 of admin.py, and found out that wrap_nested_inline_formsets() is not beign called |
|
Okay. Feel free to add a PR to the |
|
I just had some time and took another look. As you can see in the result, your code worked (the nested-inline is read only), but the parent container still editable. EDIT Adding "has_change_permission" keyword argument to InlineAdminFormSet will make the Inline Formset ReadOnly as expected. I'm still having a problem, As you can see in the next picture, the + buttons are shown. Clicking them will pop new read-only empty entries. EDIT @OskarPersson i tried to push my changes to this branch (also to a new one) and looks like i don't have permissions to do it. I get 403 Forbidden Error |
|
@gascarcella You need to make a fork of this repository and push to a branch there. From there you can create a PR to merge your branch into |



Fixes #109