When the data of my Admin list page comes from multiple data sources,
 the method I can think of is Model.objects.raw(sql), 
but when I override the get_queryset() method and return this Rawquery, 
I throw an error: 'RawQuery' object has no attribute 'filter'
If I want to implement this function, what do I need to do?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eeee0fd1-dfdd-40b4-9ebf-497496a67dd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to