<commit_before>from django import forms
from django.db import models
from django.db.models import Q
from django.db.models.signals import pre_save, post_save, post_syncdb
from django.dispatch import receiver
from datetime import datetime
import sys
import re
import urllib

from django.conf import settings
from django.contrib.auth.models import User
from django.contrib.auth.models import Group, Permission
from django.contrib.contenttypes.models import ContentType

from .fields import Double3DField, Integer3DField, IntegerArrayField, RGBAField

from guardian.shortcuts import get_objects_for_user

from taggit.managers import TaggableManager

from south.db import db

from control.user import distinct_user_color

CELL_BODY_CHOICES = (
    ('u', 'Unknown'),
    ('l', 'Local'),
    ('n', 'Non-Local' ))

class UserRole(object):
    Admin = 'Admin'
    Annotate = 'Annotate'
    Browse = 'Browse'

class Project(models.Model):
    class Meta:
        db_table = "project"
        managed = True
        permissions = (
            ("can_administer", "Can administer projects"), 
            ("can_annotate", "Can annotate projects"), 
            ("can_browse", "Can browse projects")
        )
    title = models.TextField()<commit_msg>Add comment (TextField) to Project model<commit_after>from django import forms
from django.db import models
from django.db.models import Q
from django.db.models.signals import pre_save, post_save, post_syncdb
from django.dispatch import receiver
from datetime import datetime
import sys
import re
import urllib

from django.conf import settings
from django.contrib.auth.models import User
from django.contrib.auth.models import Group, Permission
from django.contrib.contenttypes.models import ContentType

from .fields import Double3DField, Integer3DField, IntegerArrayField, RGBAField

from guardian.shortcuts import get_objects_for_user

from taggit.managers import TaggableManager

from south.db import db

from control.user import distinct_user_color

CELL_BODY_CHOICES = (
    ('u', 'Unknown'),
    ('l', 'Local'),
    ('n', 'Non-Local' ))

class UserRole(object):
    Admin = 'Admin'
    Annotate = 'Annotate'
    Browse = 'Browse'

class Project(models.Model):
    class Meta:
        db_table = "project"
        managed = True
        permissions = (
            ("can_administer", "Can administer projects"), 
            ("can_annotate", "Can annotate projects"), 
            ("can_browse", "Can browse projects")
        )
    title = models.TextField()
    comment = models.TextField(blank=True, null=True)
{'fraction_non_alphanumeric': 0.08870652598671357, 'fraction_numerical': 0.0015631105900742479, 'mean_word_length': 3.839319470699433, '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': '1350625', 'n_tokens_mistral': 744, 'n_tokens_neox': 727, 'n_words': 227}