]> git.ipfire.org Git - thirdparty/patchwork.git/commit
models: Cache 'list_archive_url' property
authorStephen Finucane <stephen@that.guru>
Fri, 30 Sep 2022 15:10:27 +0000 (16:10 +0100)
committerStephen Finucane <stephen@that.guru>
Fri, 30 Sep 2022 16:38:54 +0000 (17:38 +0100)
commitd9806a4a9e415d943fa30af93a59979171d84376
treea9e302b39323c87f753d1261da9b70154905aa12
parent4470c13e93ccd22b298deb290935b57f37bd2f55
models: Cache 'list_archive_url' property

We really need to get rid of this from the embedded view. It's way too
slow. For now, we just cache it and leave a note for future us.

Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/api/embedded.py
patchwork/models.py