Remove old check

This commit is contained in:
zandercymatics 2024-01-12 10:39:01 -07:00
parent f5fb4b24b8
commit cde4ab2fef
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -12,11 +12,6 @@ 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")
# Adds display logic for empty domain requests
for application in applications:
if not application.requested_domain.name:
application.requested_domain.name = application.requested_domain.draft_name
# Pass the final context to the application
context["domain_applications"] = applications