<commit_before>from django.utils.translation import ugettext_lazy as _

from django.conf import settings

from ella.core.newman_admin import PlacementInlineAdmin, PublishableAdmin,\
    RelatedInlineAdmin
from ella.articles.models import ArticleContents, Article, InfoBox
from ella import newman

class ArticleContentInlineAdmin(newman.NewmanTabularInline):
    model = ArticleContents
    max_num = 1
    rich_text_fields = {None: ('content',)}
    fieldsets = (('', {'fields': ('content',)}),)

class InfoBoxAdmin(newman.NewmanModelAdmin):
    list_display = ('title', 'created',)<commit_msg>Unused import<commit_after>from django.utils.translation import ugettext_lazy as _

from ella.core.newman_admin import PlacementInlineAdmin, PublishableAdmin,\
    RelatedInlineAdmin
from ella.articles.models import ArticleContents, Article, InfoBox
from ella import newman

class ArticleContentInlineAdmin(newman.NewmanTabularInline):
    model = ArticleContents
    max_num = 1
    rich_text_fields = {None: ('content',)}
    fieldsets = (('', {'fields': ('content',)}),)

class InfoBoxAdmin(newman.NewmanModelAdmin):
    list_display = ('title', 'created',)
{'fraction_non_alphanumeric': 0.10658578856152513, 'fraction_numerical': 0.0017331022530329288, 'mean_word_length': 5.875, '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': '4712868', 'n_tokens_mistral': 335, 'n_tokens_neox': 337, 'n_words': 80}