mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-29 08:50:01 +02:00
Linting and remove Dave from fixtures so he can do it himself
This commit is contained in:
parent
279a986ffd
commit
5a8c4c072b
2 changed files with 1 additions and 6 deletions
|
@ -72,11 +72,6 @@ class UserFixture:
|
||||||
"first_name": "Rebecca",
|
"first_name": "Rebecca",
|
||||||
"last_name": "Hsieh",
|
"last_name": "Hsieh",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"username": "fa69c8e8-da83-4798-a4f2-263c9ce93f52",
|
|
||||||
"first_name": "Dave",
|
|
||||||
"last_name": "Kennedy",
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
|
|
||||||
STAFF = [
|
STAFF = [
|
||||||
|
|
|
@ -10,7 +10,7 @@ def index(request):
|
||||||
if request.user.is_authenticated:
|
if request.user.is_authenticated:
|
||||||
applications = DomainApplication.objects.filter(creator=request.user)
|
applications = DomainApplication.objects.filter(creator=request.user)
|
||||||
# Let's exclude the approved applications since our
|
# Let's exclude the approved applications since our
|
||||||
# domain_applications context will be used to populate
|
# domain_applications context will be used to populate
|
||||||
# the active applications table
|
# the active applications table
|
||||||
context["domain_applications"] = applications.exclude(status="approved")
|
context["domain_applications"] = applications.exclude(status="approved")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue