mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
debug
This commit is contained in:
parent
64df4b74ba
commit
f2fae05c0a
1 changed files with 0 additions and 5 deletions
|
|
@ -42,11 +42,6 @@ class AuditlogMiddleware:
|
|||
|
||||
@staticmethod
|
||||
def _get_actor(request):
|
||||
|
||||
import madbg
|
||||
|
||||
madbg.set_trace(ip="0.0.0.0", port=8889)
|
||||
|
||||
user = getattr(request, "user", None)
|
||||
if isinstance(user, get_user_model()) and user.is_authenticated:
|
||||
return user
|
||||
|
|
|
|||
Loading…
Reference in a new issue