On 12-06-25 10:02 AM, Adrian Bool wrote:
On 25 Jun 2012, at 17:53, Soviet wrote:

Thank you kind sir for your fast response, that worked brilliantly.
Can I be cheeky and ask why does it work? :)
Magic! ;-)

The mechanism must involve deferred resolution of the second model by passing the model class name in as a string. Without string syntax python insists on knowing what that class is at the time it sees the reference. Don't know more than that though ;)

            - Tom

--
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to