Re: Issues while creating virtual environment before installing Django

2019-07-17 Thread John P
Give pipenv a try. Simply create the folder your going to use and navigate into that folder. Then use pipenv install django, pipenv shell will load the virtual environment for you. Not sure what's causing the problem but this may make your life simpler. On Wed, Jul 17, 2019, 11:25 AM Mahesh Kum

Re: WHERE EXISTS / WHERE NOT EXISTS clause without using QuerySet.extra

2016-02-03 Thread John P.
S, but I thought I should put them here for anyone interested. Thanks. John On Wednesday, February 3, 2016 at 10:03:31 AM UTC-6, John P. wrote: > > Greetings! > > I'm trying to refactor a query to avoid using QuerySet.extra (as per the > recommendation here: > https://do

Re: WHERE EXISTS / WHERE NOT EXISTS clause without using QuerySet.extra

2016-02-10 Thread John P.
Index Cond: (category_id = catalogue_category.id) Heap Fetches: 87 Total runtime: *1.619 ms* This is only 3 times as slow as the carefully optimized query, which might be an acceptable performance trade-off in some cases. On Wednesday, February 3, 2016 at 10:03:31 AM UTC-6,