Project-Stage-Academy / UA_1155_alpha

UA-1155.Python Project Stage alpha group
3 stars 0 forks source link

Remove is investor is startup add last login #78 #79

Closed NovitskaMariia closed 2 months ago

NovitskaMariia commented 2 months ago

Guys, yesterday I have installed code formatter. That is why in this PR you can see a lot of changes in different files. I just added a last_login field to the users/models.py here: image

also, removed is_investor is_sturtup fields from users/serializers.py image

Added logic for last_login to the users/views.py class LoginAPIView(APIView) image

and checked, if its works image