Skip to content

Commit e2e4aef

Browse files
committed
add dates to user endpoints
1 parent 18931cc commit e2e4aef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/serializers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ class Meta:
1717
"is_superuser",
1818
"is_approved",
1919
"ssh_public_keys",
20+
"date_joined",
21+
"last_login"
2022
]
2123
extra_kwargs = {
2224
"url": {"lookup_field": "username", "view_name": "app:user-detail"},

0 commit comments

Comments
 (0)