I have recently changed the layout of my code. Putting all my apps
into an apps sub-directory to make things a bit cleaner. Basically the
same layout as
http://code.djangoproject.com/browser/djangoproject.com/django_website/apps
To run my tests I have to go into the apps sub-directory and run it
like so:
../manage.py test app
The problem, now all foreign key's result in:
apps/profiles.userprofile: Accessor for field 'user' clashes with
related field 'User.lala_set'. Add a related_name argument to the
definition for 'user'.
apps/profiles.userprofile: Reverse query name for field 'user' clashes
with related field 'User.lala_set'. Add a related_name argument to the
definition for 'user'.
No matter what 'related_name' I choose, I mean no clashes with other
tables.
My questions:
1. How does test work for django_website?
2. Anyone else with a non-standard apps layout, with a solution to
this problem?
Regards, Louis.