Skip to content

Commit

Permalink
disable VersionAdmin for XFormAdmin
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-muchiri committed Nov 27, 2024
1 parent a9a0a19 commit 414adf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onadata/apps/logger/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",)
Expand Down

0 comments on commit 414adf6

Please sign in to comment.