Hi
I need to add key/value to queryset per each object based on stuff in request.session.
How to do that?
Alan
Hi
I need to add key/value to queryset per each object based on stuff in request.session.
How to do that?
Alan
You can use the .extra()
method on a queryset to add extra 'fields'.
There is some documentation that may be useful.