Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update last_login field on User model #197

Merged

Conversation

svillegas-cdd
Copy link
Contributor

Since in our project the method django.contrib.auth.apps.AuthConfig.ready will not be executed (because that app is not in INSTALLED_APPS) the function django.contrib.auth.models.update_last_login will not be registered to the signal django.contrib.auth.signals.user_logged_in.

Ref: https://cordada.aha.io/features/COMPCLDATA-179
Ref: https://github.com/fyntex/fd-secrets-manager/issues/28
Ref: #5

@svillegas-cdd svillegas-cdd self-assigned this Dec 16, 2022
tests/test_signals.py Show resolved Hide resolved
tests/test_signals.py Outdated Show resolved Hide resolved
tests/test_signals.py Outdated Show resolved Hide resolved
tests/test_signals.py Outdated Show resolved Hide resolved
tests/test_signals.py Outdated Show resolved Hide resolved
Since in our project the method `django.contrib.auth.apps.AuthConfig.ready` will not be executed
(because that app is not in `INSTALLED_APPS`) the function `django.contrib.auth.models.update_last_login`
will not be registered to the signal `django.contrib.auth.signals.user_logged_in`.

Ref: https://cordada.aha.io/features/COMPCLDATA-179
Ref: cordada/fd-secrets-manager#28
Ref: #5
@svillegas-cdd svillegas-cdd force-pushed the task/COMPCLDATA-179-fix-updating-of-user-last-login branch from c286b57 to 63b78e7 Compare December 20, 2022 14:50
@svillegas-cdd svillegas-cdd merged commit 2a6c668 into develop Dec 20, 2022
@svillegas-cdd svillegas-cdd deleted the task/COMPCLDATA-179-fix-updating-of-user-last-login branch December 20, 2022 15:04
@fpinto-cdd fpinto-cdd added the bug Something isn't working label Dec 22, 2022
@fpinto-cdd fpinto-cdd mentioned this pull request Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants