old_contents: from django.contrib import admin
  
  from mysql_fuzzycount.queryset import FuzzyCountQuerySet
  
  
  class FuzzyCountModelAdminMixin(object):
  
      def queryset(self, request):
          qs = super(FuzzyCountModelAdminMixin, self).queryset(request)
          return qs._clone(klass=FuzzyCountQuerySet)
  
  
  class FuzzyCountModelAdmin(FuzzyCountModelAdminMixin, admin.ModelAdmin):
      pass
  
new_contents: from django.contrib import admin
  
  from mysql_fuzzycount.queryset import FuzzyCountQuerySet
  
  
  class FuzzyCountModelAdminMixin(object):
  
      def get_queryset(self, request):
          qs = super(FuzzyCountModelAdminMixin, self).get_queryset(request)
          return qs._clone(klass=FuzzyCountQuerySet)
  
  
  class FuzzyCountModelAdmin(FuzzyCountModelAdminMixin, admin.ModelAdmin):
      pass
  
subject: Update for newer versions of Django