darklow / django-suit

Modern theme for Django admin interface
http://djangosuit.com/
Other
2.31k stars 701 forks source link

django admin get_queryset by sql error #702

Open larryhq opened 5 years ago

larryhq commented 5 years ago

I want to get queryset by sql,use method objects.raw(sql).but in admin ,I except error,can't return rawqueryset If I don't want every value to be checked in the table once when I assign a list_display, what do I do