<commit_before>from django.contrib import admin

from projects.models import Project, File


class ProjectAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('name',)}
    list_display = ('name', 'repo_type', 'theme', 'status', 'whitelisted')


class FileAdmin(admin.ModelAdmin):
    pass

<commit_msg>More admin cleanup<commit_after>from django.contrib import admin

from projects.models import Project, File


class ProjectAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('name',)}
    list_display = ('name', 'repo', 'repo_type', 'theme', 'status', 'whitelisted')
    search_fields = ('name', 'repo')
    list_filter = ('repo_type', 'whitelisted', 'status')


class FileAdmin(admin.ModelAdmin):
    pass


{'fraction_non_alphanumeric': 0.14540466392318244, 'fraction_numerical': 0.0, 'mean_word_length': 5.3478260869565215, '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': '7202731', 'n_tokens_mistral': 223, 'n_tokens_neox': 219, 'n_words': 56}