From 414adf667e66722f90490364ed6b0737809b1ea6 Mon Sep 17 00:00:00 2001 From: Kelvin Muchiri Date: Wed, 27 Nov 2024 12:37:58 +0300 Subject: [PATCH] disable VersionAdmin for XFormAdmin --- onadata/apps/logger/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onadata/apps/logger/admin.py b/onadata/apps/logger/admin.py index b550815ec3..4647804218 100644 --- a/onadata/apps/logger/admin.py +++ b/onadata/apps/logger/admin.py @@ -25,7 +25,7 @@ def get_queryset(self, request): return queryset.filter(**{self.user_lookup_field: request.user}) -class XFormAdmin(FilterByUserMixin, VersionAdmin, admin.ModelAdmin): +class XFormAdmin(FilterByUserMixin, admin.ModelAdmin): """Customise the XForm admin view.""" exclude = ("user",)