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

from sections.models import Section


class Group(models.Model):
    name = models.CharField(max_length=255, verbose_name="Nom")

    admins = models.ManyToManyField(User, related_name="group_is_admin_set", verbose_name="Administrateurs", blank=True)
    users = models.ManyToManyField(User, related_name="group_is_member_set", verbose_name="Utilisateurs", blank=True)

    permissions = models.ManyToManyField(Section)<commit_msg>[enh] __unicode__ for group<commit_after>from django.db import models
from django.contrib.auth.models import User

from sections.models import Section


class Group(models.Model):
    name = models.CharField(max_length=255, verbose_name="Nom")

    admins = models.ManyToManyField(User, related_name="group_is_admin_set", verbose_name="Administrateurs", blank=True)
    users = models.ManyToManyField(User, related_name="group_is_member_set", verbose_name="Utilisateurs", blank=True)

    permissions = models.ManyToManyField(Section)

    def __unicode__(self):
        return self.name
{'fraction_non_alphanumeric': 0.1011743450767841, 'fraction_numerical': 0.005420054200542005, 'mean_word_length': 6.486486486486487, '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': '1755157', 'n_tokens_mistral': 345, 'n_tokens_neox': 323, 'n_words': 64}