Update index.py

This commit is contained in:
zandercymatics 2024-01-09 08:44:33 -07:00
parent 964f40f0f7
commit ac80403263
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -12,8 +12,7 @@ def index(request):
# domain_applications context will be used to populate
# the active applications table
applications = DomainApplication.objects.filter(creator=request.user).exclude(status="approved")
sorted_applications = applications.filter("-requested_domain__name")
# Adds display logic for empty domain requests
counter = 1
for application in applications: