Andrew Chen Wang

Results 430 comments of Andrew Chen Wang

Thanks for the suggestion @iacobfred ! I like the alternative better as that makes sure we keep performance on par. I believe I can get all models associated with an...

@iacobfred please let me know if #187 fixes this!

I'm still going to see if I can implement this in the quest to deploy Django with partitioned tables... ref #153 (btw I won't comment on here anymore to not...

In prod, you could run a task job with celery or a manage.py script with a cron job that runs a query with prod env variables.

Hi ik I'm pretty late but better late than never. Cachalot works by setting cached values in a tuple: `(time set, queryset value)`. By using freezegun, cachalot won't work properly...

Good enhancement/bug, thanks! > pure luck lol Yea it sucks. Having debug toolbar helps a lot to know which queries were actually cached or not

@babylonlin Hi, cachalot caches the entire table rather than caching individual objects like cache-machine or cache-ops which caches per query. In the long run, cachalot is what's best, but I...

Hmm, instead of doing one record at a time, may I recommend something different? I highly advise **NOT** to go along with your current plan of unsetting and setting since...

In general, any INSERTs will be cached since Django essentially "hacks" into the Django ORM in order to cache all the results. It's a nice cheap move that allows for...

I'm not sure what you mean by fixture loading. Are you talking about pytest with factory boy? Please provide a reproducible example in addition to the version of cachalot's you're...