﻿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
21066	ModelAdmin._create_formsets can generate formsets with a 'None-1' prefix, which is ugly	kamni		"In cases where a programmer overrides BaseFormSet.get_default_prefix, it is possible to return a 'None' value due to programmer oversight. The solution currently in place is to add 'or not prefix' to prevent errors (https://github.com/django/django/blob/master/django/contrib/admin/options.py#L1565-L1565). However this results in formsets with a prefix like 'None-1', which looks unfinished and is uninformative when looking at the HTML.

A better choice would be to modify line 1563 to read 'prefix = FormSet.get_default_prefix() or ""form""', or another default that might indicate to the developer that their code was failing, without generating ugly html."	Cleanup/optimization	closed	contrib.admin	dev	Normal	wontfix			Unreviewed	0	0	0	0	0	0
