<commit_before>from django.contrib.auth.models import BaseUserManager
from django.utils import timezone


class UserManager(BaseUserManager):
    def create_user(self, email, display_name, password=<PASSWORD>, **extra_fields):
        """
        Creates a new user in the data base
        """
        now = timezone.now()
        email = UserManager.normalize_email(email)

        user = self.model(email=email, display_name=display_name,
                          is_active=True, last_login=now, date_joined=now,<commit_msg>Adds is_active to User model creation<commit_after>from django.contrib.auth.models import BaseUserManager
from django.utils import timezone


class UserManager(BaseUserManager):
    def create_user(self, email, display_name, password=<PASSWORD>, is_active=True,
                    **extra_fields):
        """
        Creates a new user in the data base
        """
        now = timezone.now()
        email = UserManager.normalize_email(email)

        user = self.model(email=email, display_name=display_name,
                          is_active=is_active, last_login=now, date_joined=now,
{'fraction_non_alphanumeric': 0.08920606601248884, 'fraction_numerical': 0.0, 'mean_word_length': 3.021505376344086, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '607954', 'n_tokens_mistral': 314, 'n_tokens_neox': 310, 'n_words': 73}