Skip to content

Updated the "LogEntryManager" class' "log_action" and "log_actions" methods #2708

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

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

ataylor32
Copy link
Contributor

The LogEntryManager class' log_action and log_actions methods both accept user_id. Currently, both methods are set up to expect user_id to be an int (source). However, the user ID could be something else such as a UUID (it is a UUID in some of my projects). I have updated it to use int | str | UUID just like the log_action method's object_id argument.

@sobolevn sobolevn merged commit 25da96c into typeddjango:master Jun 10, 2025
36 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants