Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions auditlog/models/http_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ def _compute_display_name(self):
httprequest.name or "?", fields.Datetime.to_string(tz_create_date)
)

def name_get(self):
return [(request.id, request.display_name) for request in self]

@api.model
def current_http_request(self):
"""Create a log corresponding to the current HTTP request, and returns
Expand Down
3 changes: 0 additions & 3 deletions auditlog/models/http_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ def _compute_display_name(self):
fields.Datetime.to_string(tz_create_date),
)

def name_get(self):
return [(session.id, session.display_name) for session in self]

@api.model
def current_http_session(self):
"""Create a log corresponding to the current HTTP user session, and
Expand Down