initial commit

This commit is contained in:
Maxim Kurnikov
2018-07-29 18:12:23 +03:00
commit a9f215bf64
311 changed files with 13433 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
from typing import Any
class LogEntry:
def __str__(self) -> str: ...
def get_admin_url(self) -> str: ...
def get_change_message(self) -> str: ...
def is_addition(self) -> bool: ...
def is_change(self) -> bool: ...
def is_deletion(self) -> bool: ...
class LogEntryManager:
def log_action(
self,
user_id: int,
content_type_id: int,
object_id: int,
object_repr: str,
action_flag: int,
change_message: Any = ...
) -> LogEntry: ...