diff --git a/comments/admin.py b/comments/admin.py index 64a22cda4..9ce0c71a7 100644 --- a/comments/admin.py +++ b/comments/admin.py @@ -20,7 +20,6 @@ from django.contrib import admin -from accounts.admin import LargeTablePaginator from comments.models import Comment @@ -32,7 +31,6 @@ class CommentAdmin(admin.ModelAdmin): list_select_related = ('user', 'sound') list_filter = ('contains_hyperlink',) search_fields = ('comment', '=user__username', '=sound__id') - paginator = LargeTablePaginator @admin.display(description='Comment') def get_comment_summary(self, obj): diff --git a/sounds/admin.py b/sounds/admin.py index 0f39a0b73..a5b531e66 100644 --- a/sounds/admin.py +++ b/sounds/admin.py @@ -28,7 +28,6 @@ from django.utils.safestring import mark_safe from django_object_actions import DjangoObjectActions -from accounts.admin import LargeTablePaginator from sounds.models import License, Sound, Pack, Flag, DeletedSound, SoundOfTheDay, BulkUploadProgress, SoundAnalysis @@ -61,7 +60,6 @@ class SoundAdmin(DjangoObjectActions, admin.ModelAdmin): readonly_fields = ('num_downloads', ) actions = ('reprocess_sound', ) change_actions = ('reprocess_sound', ) - paginator = LargeTablePaginator def has_add_permission(self, request): return False @@ -269,7 +267,6 @@ class SoundAnalysisAdmin(DjangoObjectActions, admin.ModelAdmin): actions = ('re_run_analysis',) change_actions = ('re_run_analysis',) readonly_fields = [] - paginator = LargeTablePaginator def has_add_permission(self, request): return False