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

class Order(models.Model):
    """Order request."""
    order_id = models.CharField(max_length=20)
    currency = models.CharField(blank=True, max_length=5)
    amount = models.IntegerField(blank=True, null=True)
    signature = models.CharField(blank=True, null=True, max_length=40)
    date_added = models.DateTimeField(auto_now_add=True)
    
    def __unicode__(self):
        return "%s" % self.order_id
        
    def is_payed(self):
        if self.status == 9:
            return True<commit_msg>added optional payment_method to Order model<commit_after>from django.db import models
from django.contrib.auth.models import User

class Order(models.Model):
    """Order request."""
    order_id = models.CharField(max_length=20)
    currency = models.CharField(blank=True, max_length=5)
    amount = models.IntegerField(blank=True, null=True)
    payment_method = models.CharField(blank=True, null=True, max_length=20)
    signature = models.CharField(blank=True, null=True, max_length=40)
    date_added = models.DateTimeField(auto_now_add=True)
    
    def __unicode__(self):
        return "%s" % self.order_id
        
    def is_payed(self):
        if self.status == 9:
            return True
{'fraction_non_alphanumeric': 0.1087124132613724, 'fraction_numerical': 0.01079414032382421, 'mean_word_length': 3.6357142857142857, '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': '5474428', 'n_tokens_mistral': 406, 'n_tokens_neox': 396, 'n_words': 84}