<commit_before># -*- coding: utf-8 -*-
from django.db import models
from django.contrib.auth.models import User

from djtools.fields import BINARY_CHOICES, YES_NO_DECLINE, STATE_CHOICES
from djtools.fields import GENDER_CHOICES, SALUTATION_TITLES

from taggit.managers import TaggableManager
from gm2m import GM2MField

from datetime import date

REG_TYPE = (
    ('','----select----'),
    ('Undergraduate','Undergraduate'),
    ('Graduate','Graduate'),
    ('Faculty','Faculty'),
    ('Professional','Professional')
)

BIRTH_YEAR_CHOICES = [x for x in reversed(xrange(1926,date.today().year -11))]

class BaseModel(models.Model):

    # meta
    user = models.ForeignKey(User)
    date_created = models.DateTimeField(
        "Date Created", auto_now_add=True
    )
    date_updated = models.DateTimeField(
        "Date Updated", auto_now=True
    )
    updated_by = models.ForeignKey(
        User, verbose_name="Updated by",
        related_name="%(app_label)s_%(class)s_related",
        editable=False
    )
<commit_msg>forgot to add status field to BaseModel<commit_after># -*- coding: utf-8 -*-
from django.db import models
from django.contrib.auth.models import User

from djtools.fields import BINARY_CHOICES, YES_NO_DECLINE, STATE_CHOICES
from djtools.fields import GENDER_CHOICES, SALUTATION_TITLES

from taggit.managers import TaggableManager
from gm2m import GM2MField

from datetime import date

REG_TYPE = (
    ('','----select----'),
    ('Undergraduate','Undergraduate'),
    ('Graduate','Graduate'),
    ('Faculty','Faculty'),
    ('Professional','Professional')
)

BIRTH_YEAR_CHOICES = [x for x in reversed(xrange(1926,date.today().year -11))]

class BaseModel(models.Model):

    # meta
    user = models.ForeignKey(User)
    date_created = models.DateTimeField(
        "Date Created", auto_now_add=True
    )
    date_updated = models.DateTimeField(
        "Date Updated", auto_now=True
    )
    updated_by = models.ForeignKey(
        User, verbose_name="Updated by",
        related_name="%(app_label)s_%(class)s_related",
        editable=False
    )
    status = models.BooleanField(default=False)

{'fraction_non_alphanumeric': 0.12453007518796992, 'fraction_numerical': 0.008458646616541353, 'mean_word_length': 3.8942528735632185, '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': '883051', 'n_tokens_mistral': 720, 'n_tokens_neox': 675, 'n_words': 146}