<commit_before>from __future__ import unicode_literals

from django.db import models
from django.template.loader import render_to_string

from tinymce import models as tinymce_models

from getyourdata.models import BaseModel


def get_default_content():
    return render_to_string('home/default.html', {})

class HomePage(BaseModel):
    admin_name = models.CharField(max_length=30, default='default', unique=True)
    content = tinymce_models.HTMLField(blank=True, default=get_default_content)

    def __unicode__(self):
        return self.admin_name<commit_msg>HomePage verbose names<commit_after>from __future__ import unicode_literals

from django.db import models
from django.template.loader import render_to_string

from tinymce import models as tinymce_models

from getyourdata.models import BaseModel


def get_default_content():
    return render_to_string('home/default.html', {})

class HomePage(BaseModel):
    admin_name = models.CharField(max_length=30, default='default', unique=True)
    content = tinymce_models.HTMLField(blank=True, default=get_default_content)

    class Meta:
        verbose_name = 'Home page'
        verbose_name_plural = 'Home page'

    def __unicode__(self):
        return self.admin_name
{'fraction_non_alphanumeric': 0.07692307692307693, 'fraction_numerical': 0.0032388663967611335, 'mean_word_length': 5.3061224489795915, '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': '1750429', 'n_tokens_mistral': 372, 'n_tokens_neox': 359, 'n_words': 87}