{"ecosystem":"pypi","package":"django","version":null,"bugs":[{"id":23,"ecosystem":"pypi","package_name":"django","affected_version":"5.0.0","fixed_version":"5.0.2","bug_id":"github:#trac-35041","title":"QuerySet.alias() with F expression evaluates twice","description":"Using .alias() with an F() expression caused the expression to be evaluated in the SELECT and WHERE clauses independently, leading to inconsistent results. Fixed in 5.0.2.","severity":"medium","status":"closed","source":"django_trac","source_url":"https://code.djangoproject.com/ticket/35041","labels":["bug","orm","queryset"],"created_at":"2026-04-19 03:24:37.028214+00:00","updated_at":"2026-04-19 03:25:24.809828+00:00"}],"total":1,"_cache":"hit"}