mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 03:58:39 +02:00
Add comment explaining why we're excluding approved applications
This commit is contained in:
parent
7cd229fa88
commit
892ad926df
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,9 @@ def index(request):
|
|||
context = {}
|
||||
if request.user.is_authenticated:
|
||||
applications = DomainApplication.objects.filter(creator=request.user)
|
||||
# Let's exclude the approved applications since our
|
||||
# domain_applications context will be used to populate
|
||||
# the active applications table
|
||||
context["domain_applications"] = applications.exclude(status="approved")
|
||||
|
||||
domains = request.user.permissions.values(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue