<commit_before>from django.apps import apps
from django.contrib import admin
from django.conf import settings


class PostAdmin(admin.ModelAdmin):
    list_filter = ['is_active', ]


icekit_blog_model = getattr(settings, 'ICEKIT_BLOG_MODEL', 'blog_tools.BlogPost')
post_class = apps.get_model(*icekit_blog_model.rsplit('.', 1))
admin.site.register(post_class, PostAdmin)<commit_msg>Related to 228608c7 we just unregister the default model<commit_after>from django.apps import apps
from django.contrib import admin
from django.conf import settings

from .models import BlogPost


class PostAdmin(admin.ModelAdmin):
    list_filter = ['is_active', ]


admin.site.register(BlogPost, PostAdmin)
{'fraction_non_alphanumeric': 0.09420289855072464, 'fraction_numerical': 0.011594202898550725, 'mean_word_length': 6.351063829787234, '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': '4907728', 'n_tokens_mistral': 221, 'n_tokens_neox': 206, 'n_words': 54}