1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Consolidate middleware under NetBox core

This commit is contained in:
Jeremy Stretch
2020-11-10 16:59:37 -05:00
parent c496b05630
commit db0c61dea4
4 changed files with 39 additions and 40 deletions

View File

@@ -35,7 +35,7 @@ class ChangeLoggedModel(models.Model):
def to_objectchange(self, action):
"""
Return a new ObjectChange representing a change made to this object. This will typically be called automatically
by extras.middleware.ChangeLoggingMiddleware.
by ChangeLoggingMiddleware.
"""
return ObjectChange(
changed_object=self,