<commit_before># -*- coding: utf-8 -*-

from django.contrib.auth.models import AbstractBaseUser

from .reldb import * # NOQA
from .nonrel import * # NOQA
from .keyval import * # NOQA


class SimpleUser(AbstractBaseUser):
    # No need of username, we have the email…
    #username = models.CharField(max_length=254, unique=True, db_index=True)

    email = models.EmailField(max_length=254, unique=True, db_index=True)

    USERNAME_FIELD = 'email'
<commit_msg>clean obsolete code.<commit_after># -*- coding: utf-8 -*-

from .reldb import * # NOQA
from .nonrel import * # NOQA
from .keyval import * # NOQA

{'fraction_non_alphanumeric': 0.12211221122112212, 'fraction_numerical': 0.013201320132013201, 'mean_word_length': 3.9754098360655736, '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': '5372588', 'n_tokens_mistral': 214, 'n_tokens_neox': 198, 'n_words': 56}