Carl Meyer

Results 203 comments of Carl Meyer
trafficstars

`python setup.py test` will run the tests using your current environment (requires that you have Django installed, and probably PIL too if you want the ImageWidget tests to run). Alternatively,...

sure! ideally your pull request would also add a new test for the thing it is fixing, but I can take a look, it might be ok to merge without...

Yes, this is not ideal. I'm not sure what would be a good way to reliably identify image values that wouldn't suffer from this problem; if you have a proposal...

We access those attributes simply as a way of determining whether `value` is an image or not.

I don't know what you should do in that case, I haven't worked with `ImageField` and remote storages. Regarding this specific bug, I'd welcome proposals of an alternative way to...

Ugh, yes I know, I did remember to label one of them today! https://github.com/astral-sh/ruff/pull/11176

I think I would have remembered before merging :)

The evaluation order at runtime is `key, value, key, value, ...` in source order, matching the new order used in this PR. This is perhaps simplest to observe by de-compiling...

Hi @Anislav, thanks for the report. I think @kezabelle is likely correct that #78 would fix the reverse-related cache, which seems like part of the fix needed here. Regarding the...

Currently I don't think there's any way to do this. I mean, the manager will be used if its the default manager, but `select_subclasses` will never be called. The approach...