<commit_before>from django.db import models
from django.contrib.auth.models import User


class Team(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField()
    url = models.URLField()
    image_url = models.CharField(max_length=500)

    def __str__(self):
        return self.name


class Job(models.Model):
    team = models.ForeignKey(
        Team,
        on_delete=models.SET_NULL,
        null=True,
    )
    title = models.CharField(max_length=100)
    apply_url = models.URLField()

    def __str__(self):
        return self.title


class Mentor(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField()

    def __str__(self):
        return self.name


class Meetup(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField()

    def __str__(self):
        return self.name


class Coworking(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField()

    def __str__(self):
        return self.name


class Post(models.Model):
    date = models.DateField()
    title = models.CharField(max_length=200)
    slug = models.CharField(max_length=100)
    author = models.ForeignKey(
        User,
        on_delete=models.SET_NULL,
        null=True,
    )
    teaser = models.TextField()
    image = models.ImageField(upload_to='main/static/main/uploads/')
    body = models.TextField()

    def __str__(self):
        return self.title<commit_msg>tweak post model<commit_after>from django.db import models
from django.contrib.auth.models import User


class Team(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField()
    url = models.URLField()
    image_url = models.CharField(max_length=500)

    def __str__(self):
        return self.name


class Job(models.Model):
    team = models.ForeignKey(
        Team,
        on_delete=models.SET_NULL,
        null=True,
    )
    title = models.CharField(max_length=100)
    apply_url = models.URLField()

    def __str__(self):
        return self.title


class Mentor(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField()

    def __str__(self):
        return self.name


class Meetup(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField()

    def __str__(self):
        return self.name


class Coworking(models.Model):
    name = models.CharField(max_length=100)
    description = models.TextField()

    def __str__(self):
        return self.name


class Post(models.Model):
    date = models.DateField()
    title = models.CharField(max_length=200)
    slug = models.CharField(max_length=100)
    author = models.ForeignKey(
        User,
        on_delete=models.SET_NULL,
        null=True,
    )
    teaser = models.TextField()
    image = models.ImageField(upload_to='main/static/main/uploads/', default='main/static/main/logo.png')
    body = models.TextField()
    is_featured = models.BooleanField(default=False)

    def __str__(self):
        return self.title
{'fraction_non_alphanumeric': 0.10818619582664527, 'fraction_numerical': 0.015409309791332263, 'mean_word_length': 3.0258397932816536, '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': '601831', 'n_tokens_mistral': 1008, 'n_tokens_neox': 947, 'n_words': 184}