id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 29465 Admin._changeform_view incorrectly initializes ModelForm instance Gert Steyn nobody "In django.contrib.admin.options.ModelAdmin._changeform_view: {{{ form = ModelForm(request.POST, request.FILES, instance=obj) }}} this line should be: {{{ form = ModelForm(data=request.POST, files=request.FILES, instance=obj) }}} data and files are not positional arguments, this causes issues if a form with additional kwargs is used. " Bug closed contrib.admin 2.0 Normal invalid Unreviewed 0 0 0 0 0 0