<commit_before>from django.contrib import admin
from django.core.exceptions import PermissionDenied

from fjord.feedback.models import Response


class ResponseFeedbackAdmin(admin.ModelAdmin):
    list_display = ('created', 'prodchan', 'happy', 'description',
                    'user_agent', 'locale')
    list_filter = ('prodchan', 'happy', 'locale')
    search_fields = ('description',)<commit_msg>Fix admin to use Response.uncached<commit_after>from django.contrib import admin
from django.core.exceptions import PermissionDenied

from fjord.feedback.models import Response


class ResponseFeedbackAdmin(admin.ModelAdmin):
    list_display = ('created', 'prodchan', 'happy', 'description',
                    'user_agent', 'locale')
    list_filter = ('prodchan', 'happy', 'locale')
    search_fields = ('description',)

    def queryset(self, request):
        # Note: This ignores the super() queryset and uses the
        # uncached manager.
        return Response.uncached.all()
{'fraction_non_alphanumeric': 0.11425682507583418, 'fraction_numerical': 0.0, 'mean_word_length': 4.051020408163265, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6503564', 'n_tokens_mistral': 276, 'n_tokens_neox': 260, 'n_words': 73}