fix: Don't show deferred I-Ds in AD's missing ballot list (#6162)

* fix: Don't show deferred I-Ds in AD's missing ballot list

Fixes #6152

* Address code review comments
This commit is contained in:
Lars Eggert 2023-09-05 20:16:33 +03:00 committed by GitHub
parent 3c1fc3c0f9
commit fb4002dbbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -749,6 +749,7 @@ def docs_for_ad(request, name):
if (
not ballot
or doc.get_state_slug("draft") == "repl"
or doc.get_state_slug("draft-iesg") == "defer"
or (doc.telechat_date() and doc.telechat_date() > timezone.now().date())
):
continue