<commit_before>from django.conf import settings
from django.db import models as django_models
from django.contrib.auth import models as auth_models
from django.core import urlresolvers
from django.template import loader
from django.utils.translation import ugettext_lazy as _

from registration import models as registration_models

from phonenumber_field import modelfields as phonenumber_fields

from web.account import geo_fields
from web.account import utils
from web.nodes import models

class UserProfileAndSettings(django_models.Model):
  """
  This class represents an user profile and settings.
  """

  user = django_models.OneToOneField(auth_models.User, editable=False)

  phone_number = phonenumber_fields.PhoneNumberField(_('phone number'), help_text=_('Please enter your phone number for use in emergency. It will be visible only to network administrators.'))<commit_msg>Telephone numbers can be NULL.<commit_after>from django.conf import settings
from django.db import models as django_models
from django.contrib.auth import models as auth_models
from django.core import urlresolvers
from django.template import loader
from django.utils.translation import ugettext_lazy as _

from registration import models as registration_models

from phonenumber_field import modelfields as phonenumber_fields

from web.account import geo_fields
from web.account import utils
from web.nodes import models

class UserProfileAndSettings(django_models.Model):
  """
  This class represents an user profile and settings.
  """

  user = django_models.OneToOneField(auth_models.User, editable=False)

  phone_number = phonenumber_fields.PhoneNumberField(_('phone number'), help_text=_('Please enter your phone number for use in emergency. It will be visible only to network administrators.'), null=True)
{'fraction_non_alphanumeric': 0.055, 'fraction_numerical': 0.0, 'mean_word_length': 6.0627450980392155, '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': '4207753', 'n_tokens_mistral': 466, 'n_tokens_neox': 461, 'n_words': 176}