What steps will reproduce the problem?
1. Create aggregation to object itself
What is the expected output? What do you see instead?
Error: One or more models did not validate:
toobackup.host: Reverse query name for field 'host' clashes with field
'Host.host'. Add a related_name argument to the definition for 'host'.
What version of the product are you using? On what operating system?
Django 1.1.1
Please provide any additional information below.
Into the file:
uml2dj/xmi2djmodels_generic.xsl
Change row 192 to:
<xsl:when test="$classid = $otherClassid">'self',
related_name='self_child'</xsl:when>
Original issue reported on code.google.com by mar...@tione.eu on 9 Feb 2010 at 10:17
Original issue reported on code.google.com by
mar...@tione.eu
on 9 Feb 2010 at 10:17