| 9 | | Not sure how big is the thread, but as inlines is likely a class and creating code to actually trigger this bug would be a bit complicated, perhaps it would be useful to just bound the variable in the function parameters and don't worry about eventual problems in the future? |
| | 9 | Not sure how big is the thread, but as inlines is likely a class and creating code to actually trigger this bug would be a bit complicated, perhaps it would be useful to just bind the variable in the function parameters and don't worry about eventual problems in the future? |
| | 10 | |
| | 11 | ... like: |
| | 12 | |
| | 13 | def user_deleted_form(request, obj, formset, index, inline=inline): |