mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 22:14:15 +02:00
Update src/registrar/views/domain_requests_json.py
Co-authored-by: CuriousX <nicolle.leclair@gmail.com>
This commit is contained in:
parent
a0c73caa77
commit
87cb111813
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ from django.db.models import Q
|
||||||
@login_required
|
@login_required
|
||||||
def get_domain_requests_json(request):
|
def get_domain_requests_json(request):
|
||||||
"""Given the current request,
|
"""Given the current request,
|
||||||
get all domain requests that are associated with the request user and exclude the APPROVED ones"""
|
get all domain requests that are associated with the request user and exclude the APPROVED ones.
|
||||||
|
If we are on the portfolio requests page, limit the response to only those requests associated with
|
||||||
|
the given portfolio."""
|
||||||
|
|
||||||
domain_request_ids = get_domain_request_ids_from_request(request)
|
domain_request_ids = get_domain_request_ids_from_request(request)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue