﻿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
33823	inspectdb should generate related_name on same relation links.	whysage	whysage	"Hi!

After models generation with inspectdb command we have issue with relations to same enities

****
module.Model.field1: (fields.E304) Reverse accessor for 'module.Model.field1' clashes with reverse accessor for 'module.Model.field2'.
HINT: Add or change a related_name argument to the definition for 'module.Model.field1' or 'module.Model.field2'.
*******

Maybe we can autogenerate

related_name='attribute_name'

to all fields in model if related Model was used for this table 


"	Cleanup/optimization	closed	Core (Management commands)	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
