We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b75883 commit 25da96cCopy full SHA for 25da96c
django-stubs/contrib/admin/models.pyi
@@ -15,7 +15,7 @@ class LogEntryManager(models.Manager[LogEntry]):
15
@deprecated("log_action() is deprecated and will be removed in Django 6.0. Use log_action_new() instead.")
16
def log_action(
17
self,
18
- user_id: int,
+ user_id: int | str | UUID,
19
content_type_id: int,
20
object_id: int | str | UUID,
21
object_repr: str,
@@ -24,7 +24,7 @@ class LogEntryManager(models.Manager[LogEntry]):
24
) -> LogEntry: ...
25
def log_actions(
26
27
28
queryset: QuerySet[Model],
29
action_flag: int,
30
change_message: str | list[Any] = "",
0 commit comments