MattBroach / DjangoRestMultipleModels

View (and mixin) for serializing multiple models or querysets in Django Rest Framework
MIT License
549 stars 67 forks source link

Fix for #1 broke ability to have cached querylists #17

Closed mbox closed 8 years ago

mbox commented 8 years ago

See comment on #1 - because querysets are all forced to be re-evaluated, it's now impossible to cache the DB queries which is essential for some users (e.g. me :) )

MattBroach commented 8 years ago

@mbox, thanks for the fix -- and for the bonus PEP8-ification. I merged into master, and I'll repackage and push the new version out to PyPI tonight. Much appreciated!