On 2/4/07, Ramiro Morales <[EMAIL PROTECTED]> wrote: > > Now the question :): Why does Django model validation reports name clash > errors and suggests to use related_name when clearly there are not > such clashes?:
I can't see any immediately obvious reason - looks like you may have found a bug. If I had to guess, I would say that the validator is getting an accidental hit based on the fact that the related model name and the relation name are the same. The invalid_models modeltest contains the full set of validation tests - it is possible that either (1) this test doesn't check the case you describe, or (2) the expected test results are incorrect. If you feel like trying to track this one down, the validation checks are all performed in django/core/management.py, in the get_validation_errors() method. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---