mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
Update index.py
This commit is contained in:
parent
964f40f0f7
commit
ac80403263
1 changed files with 1 additions and 2 deletions
|
@ -12,8 +12,7 @@ def index(request):
|
||||||
# domain_applications context will be used to populate
|
# domain_applications context will be used to populate
|
||||||
# the active applications table
|
# the active applications table
|
||||||
applications = DomainApplication.objects.filter(creator=request.user).exclude(status="approved")
|
applications = DomainApplication.objects.filter(creator=request.user).exclude(status="approved")
|
||||||
|
|
||||||
sorted_applications = applications.filter("-requested_domain__name")
|
|
||||||
# Adds display logic for empty domain requests
|
# Adds display logic for empty domain requests
|
||||||
counter = 1
|
counter = 1
|
||||||
for application in applications:
|
for application in applications:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue