From 0fa111690ae411f87bfb3ad8753f070419767002 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Thu, 19 Oct 2023 12:40:24 +0200 Subject: [PATCH] Addons: expand db query to get the `type` as well (#10829) Solves https://github.com/readthedocs/readthedocs.org/pull/10821#discussion_r1362378808 --- readthedocs/proxito/views/hosting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readthedocs/proxito/views/hosting.py b/readthedocs/proxito/views/hosting.py index d1e986010ed..19cf1db077b 100644 --- a/readthedocs/proxito/views/hosting.py +++ b/readthedocs/proxito/views/hosting.py @@ -231,7 +231,7 @@ def _v0(self, project, version, build, filename, user): user=user, ) .exclude(hidden=True) - .only("slug") + .only("slug", "type") .order_by("slug") )