mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 18:56:15 +02:00
lint
This commit is contained in:
parent
e0269edc71
commit
661f09d2e4
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ def initial_permissions_search(portfolio):
|
||||||
email_display=F("user__email"),
|
email_display=F("user__email"),
|
||||||
last_active=Coalesce(
|
last_active=Coalesce(
|
||||||
Cast(F("user__last_login"), output_field=TextField()), # Cast last_login to text
|
Cast(F("user__last_login"), output_field=TextField()), # Cast last_login to text
|
||||||
Value("Invalid date"), output_field=TextField()
|
Value("Invalid date"),
|
||||||
|
output_field=TextField(),
|
||||||
),
|
),
|
||||||
member_display=Case(
|
member_display=Case(
|
||||||
# If email is present and not blank, use email
|
# If email is present and not blank, use email
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue