﻿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
14217	Add validation for model field name the same as the model name when using model inheritance	willian	niall	"{{{
class Place(models.Model):
    pass

class Restaurant(Place):
    restaurant = models.CharField(max_length=100)

}}}

When accessing Restaurant in the admin, a ValueError is Raised:

----
ValueError at /admin/questionnaire/restaurant/add/
Cannot assign ""''"": ""Restaurant.restaurant"" must be a ""Restaurant"" instance.
---


"	Bug	closed	Core (System checks)	dev	Normal	fixed	model inheritance, ORM	Vlastimil Zíma	Ready for checkin	1	0	0	0	0	0
