On 10-01-05 11:54 AM, Stodge wrote:
I'm trying to use the Historical Records feature from Marty Alchin's
"Pro Django" book, but it's not working for me when my model has two
foreign keys to users. I'm getting
Accessor for field 'owner' clashes with related field.... Add a
related_name argument to the definition for 'owner'. etc
It doesn't work if I add a related name to the field in my object. So
either I'm doing something silly or Historical Records don't work with
multiple foreign keys. Anyone used this successfully in this manner?
I hit the same problems with that feature. In the end number of
relationships and tables it created got so complicated, that we gave up
on it. We used http://code.google.com/p/django-reversion/ instead, but
there are other choices.
--
Andy McKay, @clearwind
Whistler conference: http://clearwind.ca/djangoski/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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.