- changed status to resolved
The DatatableMixin cannot render columns, if the QuerySet only contains explicit values
Issue #69
resolved
Assuming a developer wants to limit the data obtained from the database and uses .values(...)
on the queryset, DatatableMixin.render_column
produces empty cells.
Comments (2)
-
repo owner -
repo owner Merged in crazyphd/django-datatables-view/queryset_values (pull request #23)
Fix
#69: Allow querysets includingvalues()
calls→ <<cset 0807c1cd12bb>>
- Log in to comment
Fix
#69: Allow querysets includingvalues()
callsThis commit adds the ability to the cell renderer not only to get values from model attributes, but also from dictionary items in case the queryset was instructed to retrieve only specific values from the database.
→ <<cset 42f7f8edec51>>