Okay, I see now. Can't do that. Never mind.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/5S6X8Bpl0kAJ.
To post to this group, send email to django-use
Does use_for_related_fields work with ManyToMany fields? From the source,
it looks like it does not. Can anyone confirm that?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/
I have a custom manager class that has use_for_related_field set to true,
and I set it to be the default manager in my model. But when I make a
query using select_related on the related field, I seem to get a plain
queryset, not my custom one. Here's a quick sketch of what I'm doing:
class My
3 matches
Mail list logo