django-batch-select
django-batch-select copied to clipboard
Support Python 3
Given Python 3 support was only added to Django after they added prefetch_related how useful is adding Python 3 support to batch select?
Also I'm not actually using Python 3 in anger yet, so pull requests and help would be nice...
Maybe I've misunderstood django-batch-select
, please clarify: When I use
django-batch-select
, does it add another query (like Django's
prefetch_related
) or does it fetch by adding more SQL code to the
existing query (like Django's select_related
)?
On Fri, Feb 27, 2015 at 11:52 AM, John Montgomery [email protected] wrote:
Given Python 3 support was only added to Django after they added prefetch_related https://docs.djangoproject.com/en/1.7/ref/models/querysets/#django.db.models.query.QuerySet.prefetch_related how useful if adding Python 3 support to batch select?
Also I'm not actually using Python 3 in anger yet, so pull requests and help would be nice...
— Reply to this email directly or view it on GitHub https://github.com/lilspikey/django-batch-select/issues/12#issuecomment-76366038 .
Oh, I see now that it adds an extra query, sorry, I should have read the docs. So it doesn't help me, I was looking for a way to do it without adding another query. Thanks anyway!
On Fri, Feb 27, 2015 at 1:24 PM, Ram Rachum [email protected] wrote:
Maybe I've misunderstood
django-batch-select
, please clarify: When I usedjango-batch-select
, does it add another query (like Django'sprefetch_related
) or does it fetch by adding more SQL code to the existing query (like Django'sselect_related
)?On Fri, Feb 27, 2015 at 11:52 AM, John Montgomery < [email protected]> wrote:
Given Python 3 support was only added to Django after they added prefetch_related https://docs.djangoproject.com/en/1.7/ref/models/querysets/#django.db.models.query.QuerySet.prefetch_related how useful if adding Python 3 support to batch select?
Also I'm not actually using Python 3 in anger yet, so pull requests and help would be nice...
— Reply to this email directly or view it on GitHub https://github.com/lilspikey/django-batch-select/issues/12#issuecomment-76366038 .