Friday, August 29, 2014

Re: related_query_name - what is it?

No problem.

I think I also found how to deal with M instances which are not related to R (R instances have foreign key to M). I tried M.filter(related_query_name_from_R__isnull=False) and it seems to work.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7881889c-c9df-4793-bfcb-7b488fbca7fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment