<commit_before>from django.db import models

# Create your models here.
<commit_msg>Add BlogPost and Comment models<commit_after>from django.db import models
from django.contrib.auth.models import User

class BlogPost(models.Model):
    user = models.ForeignKey(User)
    title = models.CharField(max_lenght = 120)
    text = models.TextField()
    date = models.DateTimeField(auto_now_add = True)

class Comment(models.Model):
    user = models.ForeignKey(User)
    post = models.ForeignKey(BlogPost)
    text = models.TextField()
    date = models.DateTimeField(auto_now_add = True)

{'fraction_non_alphanumeric': 0.09572649572649573, 'fraction_numerical': 0.005128205128205128, 'mean_word_length': 4.4766355140186915, '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': '1013618', 'n_tokens_mistral': 179, 'n_tokens_neox': 174, 'n_words': 43}