<commit_before>import datetime
from django.db import models
from django.utils import timezone


class User(models.Model):
    username = models.CharField(max_length=50, unique=True)
    password = models.CharField(max_length=96)
    usertype = models.CharField(max_length=6)
    def __str__(self):
        return self.username

class Company(models.Model):
    name = models.CharField(max_length=24)
    description = models.TextField(max_length=500)
    def __str__(self):
        return self.name


class Buyer(models.Model):
    #username = models.CharField(max_length=50, unique=true)
    resume_url = models.URLField(max_length=200)
    user_account = models.ForeignKey(User, unique=True)
    def __str__(self):
        return self.user_account


class Seller(models.Model):
    company = models.OneToOneField(Company)
    user_account = models.ForeignKey(User, unique=True)
    def __str__(self):
        return self.user_account



class Transaction(models.Model):
    #buyer = models.ForeignKey(buyer)
    #seller = models.ForeignKey(Seller)
    buyer= models.OneToOneField(Buyer)
    seller = models.OneToOneField(Seller)
    timestamp = models.DateTimeField(default=timezone.now)
    negotiation = models.TextField(max_length=1000)
    def __str__(self):
        return self.negotiation


class JobApplication(models.Model):
    #company = models.ForeignKey(Company, unique=true)
    company = models.OneToOneField(Company)
    buyer = models.OneToOneField(Buyer)
    greeting = models.CharField(max_length=256)
    detail = models.TextField(max_length=1000)
 <commit_msg>updating admin site<commit_after>import datetime
from django.db import models
from django.utils import timezone


class User(models.Model):
    username = models.CharField(max_length=50, unique=True)
    password = models.CharField(max_length=96)
    usertype = models.CharField(max_length=6)
    def __str__(self):
        return self.username

class Company(models.Model):
    name = models.CharField(max_length=24)
    description = models.TextField(max_length=500)
    def __str__(self):
        return self.name


class Buyer(models.Model):
    #username = models.CharField(max_length=50, unique=true)
    resume_url = models.URLField(max_length=200)
    user_account = models.ForeignKey(User, unique=True)
    def __str__(self):
        return self.user_account


class Seller(models.Model):
    company = models.OneToOneField(Company)
    user_account = models.ForeignKey(User, unique=True)
    def __str__(self):
        return self.user_account



class Transaction(models.Model):
    #buyer = models.ForeignKey(buyer)
    #seller = models.ForeignKey(Seller)
    buyer= models.OneToOneField(Buyer)
    seller = models.OneToOneField(Seller)
    timestamp = models.DateTimeField(default=timezone.now)
    negotiation = models.TextField(max_length=1000)
    def __str__(self):
        return self.negotiation


class JobApplication(models.Model):
    #company = models.ForeignKey(Company, unique=true)
    company = models.OneToOneField(Company)
    buyer = models.OneToOneField(Buyer)
    greeting = models.CharField(max_length=256)
    detail = models.TextField(max_length=1000)
    def __str__(self):
        return self.greeting
{'fraction_non_alphanumeric': 0.1, 'fraction_numerical': 0.016149068322981366, 'mean_word_length': 4.195161290322581, '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': '1150156', 'n_tokens_mistral': 1038, 'n_tokens_neox': 990, 'n_words': 184}