I have a model named 'Period' and a model named 'Schedule'. They have
a many-to-many relationship. I need to get all Period's whose
position in the relationship is a certain number (All second periods
in each schedule, for example).
I could use raw SQL to query the m2m database, but is this possible
without raw SQL?
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment