<commit_before>import datetime

from django.db import models
from django.db.models import Q
from django.utils.translation import ugettext_lazy as _
from django.template import loader, Context
from django.template.defaultfilters import slugify
from django.core import urlresolvers
from django.db.models.fields.related import SingleRelatedObjectDescriptor
from django.conf import settings
from django.utils import translation

class Portlet(models.Model):
    template = 'portlet/base.html'
    title = models.CharField(_("Title"), max_length=100)
    display_title = models.CharField(_("Displayed title"), max_length=255, blank=True, default="")
    display_title_link = models.CharField(_("Displayed title link"), max_length=255, blank=True, default="")
    portlet_type = models.SlugField(editable=False)
    created = models.DateTimeField(auto_now_add=True, editable=False)
    modified = models.DateTimeField(auto_now=True, editable=False)<commit_msg>removed unused import<commit_after>import datetime

from django.db import models
from django.db.models import Q
from django.utils.translation import ugettext_lazy as _
from django.template import loader, Context
from django.template.defaultfilters import slugify
from django.core import urlresolvers
from django.conf import settings
from django.utils import translation

class Portlet(models.Model):
    template = 'portlet/base.html'
    title = models.CharField(_("Title"), max_length=100)
    display_title = models.CharField(_("Displayed title"), max_length=255, blank=True, default="")
    display_title_link = models.CharField(_("Displayed title link"), max_length=255, blank=True, default="")
    portlet_type = models.SlugField(editable=False)
    created = models.DateTimeField(auto_now_add=True, editable=False)
    modified = models.DateTimeField(auto_now=True, editable=False)
{'fraction_non_alphanumeric': 0.09446254071661238, 'fraction_numerical': 0.009771986970684038, 'mean_word_length': 6.284584980237154, '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': '3695269', 'n_tokens_mistral': 530, 'n_tokens_neox': 514, 'n_words': 133}