google-code-export / django-treemenus

Automatically exported from code.google.com/p/django-treemenus
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

r55 breaks tests if treemenus has been extended. #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Use checkout of r55.
2. Extend model MenuItem as per included instructions - in particular, use
'related_name="extension"' exactly as per line 318 of MANUAL.txt

Unit tests will then fail with multiple errors - there is a clash as the
treemenus unit tests are trying to add an app 'menu_extension' that extends
MenuItem and uses the SAME related_name as the one suggested in the manual.

An easy fix to this is to change the related_name used in the test app to
another value.

Original issue reported on code.google.com by richardb...@gmail.com on 8 Dec 2009 at 4:56

GoogleCodeExporter commented 9 years ago
Thanks for the report. I think this should be fixed in r57. Please re-open this
ticket if the problem still exists.

Original comment by jpha...@gmail.com on 9 Dec 2009 at 10:12