<commit_before>from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.core.exceptions import ValidationError
from django.forms.fields import IntegerField

class Title(models.Model):
    name = models.CharField(max_length=64)

    def __unicode__(self):
        return self.name

class PersonAlias(models.Model):
    name = models.CharField(max_length=64)
    person = models.ForeignKey('Person')

    def __unicode__(self):
        return "%s -> %s" % (self.name, self.person.name)

class Person(models.Model):
    name = models.CharField(max_length=64)
    mk = models.ForeignKey('mks.Member', blank=True, null=True, related_name='person')
    titles = models.ManyToManyField(Title, blank=True, null=True, related_name='persons')
    img_url = models.URLField(blank=True, verify_exists=False)
    phone = models.CharField(blank=True, null=True, max_length=20)
    fax = models.CharField(blank=True, null=True, max_length=20)
    email = models.EmailField(blank=True, null=True)
    family_status = models.CharField(blank=True, null=True,max_length=10)
    number_of_children = models.IntegerField(blank=True, null=True)
    date_of_birth  = models.DateField(blank=True, null=True)
    place_of_birth = models.CharField(blank=True, null=True, max_length=100)
    date_of_death  = models.DateField(blank=True, null=True)
    year_of_aliyah = models.IntegerField(blank=True, null=True)<commit_msg>add missing GENDER_CHOICES to persons<commit_after>from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.core.exceptions import ValidationError
from django.forms.fields import IntegerField

class Title(models.Model):
    name = models.CharField(max_length=64)

    def __unicode__(self):
        return self.name

class PersonAlias(models.Model):
    name = models.CharField(max_length=64)
    person = models.ForeignKey('Person')

    def __unicode__(self):
        return "%s -> %s" % (self.name, self.person.name)

GENDER_CHOICES = (
    (u'M', _('Male')),
    (u'F', _('Female')),
)

class Person(models.Model):
    name = models.CharField(max_length=64)
    mk = models.ForeignKey('mks.Member', blank=True, null=True, related_name='person')
    titles = models.ManyToManyField(Title, blank=True, null=True, related_name='persons')
    img_url = models.URLField(blank=True, verify_exists=False)
    phone = models.CharField(blank=True, null=True, max_length=20)
    fax = models.CharField(blank=True, null=True, max_length=20)
    email = models.EmailField(blank=True, null=True)
    family_status = models.CharField(blank=True, null=True,max_length=10)
    number_of_children = models.IntegerField(blank=True, null=True)
    date_of_birth  = models.DateField(blank=True, null=True)
    place_of_birth = models.CharField(blank=True, null=True, max_length=100)
    date_of_death  = models.DateField(blank=True, null=True)
    year_of_aliyah = models.IntegerField(blank=True, null=True)
{'fraction_non_alphanumeric': 0.12095687331536388, 'fraction_numerical': 0.010107816711590296, 'mean_word_length': 5.159751037344399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1256659', 'n_tokens_mistral': 1001, 'n_tokens_neox': 962, 'n_words': 178}