diff --git a/apis_ontology/settings/server_settings.py b/apis_ontology/settings/server_settings.py index d33e494..147ec53 100644 --- a/apis_ontology/settings/server_settings.py +++ b/apis_ontology/settings/server_settings.py @@ -62,3 +62,7 @@ "DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.LimitOffsetPagination", "PAGE_SIZE": 20, } + +MIDDLEWARE += [ + "simple_history.middleware.HistoryRequestMiddleware", +]