<commit_before>from django.contrib import admin

from topics.models import Issue, StoryPointer, Stream, Topic

admin.site.register(Topic)
admin.site.register(Issue)
admin.site.register(Stream)
admin.site.register(StoryPointer)<commit_msg>Move Issue ModelAdmin to new register syntax<commit_after>from django.contrib import admin

from topics.models import Issue, StoryPointer, Stream, Topic


@admin.register(Issue)
class IssueAdmin(admin.ModelAdmin):
    prepopulated_fields = {'slug': ('name',)}

admin.site.register(Topic)
admin.site.register(Stream)
admin.site.register(StoryPointer)
{'fraction_non_alphanumeric': 0.10732538330494037, 'fraction_numerical': 0.0, 'mean_word_length': 7.28169014084507, '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': '2066908', 'n_tokens_mistral': 174, 'n_tokens_neox': 168, 'n_words': 40}