<commit_before>from django.db import models

# Create your models here.<commit_msg>added some fields to Page model<commit_after>from django.db import models
from django.utils.translation import ugettext_lazy as _


class Page(models.Model):
    title = models.CharField(_('title'), max_length=250)
    slug = models.SlugField(_('slug'), max_length=200)
    published = models.BooleanField(_("is published"), blank=True)
    parent = models.ForeignKey('self', null=True, blank=True,
                                related_name='children', db_index=True,
                                verbose_name=_('parent'))

    creation_date = models.DateTimeField(auto_now_add=True)
    changed_date = models.DateTimeField(auto_now=True)
{'fraction_non_alphanumeric': 0.10729023383768914, 'fraction_numerical': 0.008253094910591471, 'mean_word_length': 3.6666666666666665, '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': '6769969', 'n_tokens_mistral': 210, 'n_tokens_neox': 202, 'n_words': 44}