# Path: sectesting/streetart/models/user.py
# class StreetArtUser(AbstractBaseUser, PermissionsMixin, BaseStreetArtModel):
#     """
#     This is a custom user class for users of the Street Art project.
#     """
# 
#     # Columns
# 
#     email = models.EmailField(_('email address'), unique=True)
#     first_name = models.CharField(_('first name'), max_length=30, blank=True)
#     last_name = models.CharField(_('last name'), max_length=30, blank=True)
#     date_joined = models.DateTimeField(_('date joined'), auto_now_add=True)
#     is_active = models.BooleanField(_('active'), default=True)
#     is_staff = models.BooleanField(default=False)
# 
#     USERNAME_FIELD = "email"
#     REQUIRED_FIELDS = []
# 
#     objects = StreetArtUserManager()
# 
#     # Class Meta
# 
#     class Meta:
#         verbose_name = _('user')
#         verbose_name_plural = _('users')
# 
#     # Methods
# 
#     def get_full_name(self):
#         """
#         Get a string representing the user's full name.
#         :return: A string representing the user's full name.
#         """
#         to_return = "%s %s" % (self.first_name, self.last_name)
#         return to_return.strip()
# 
#     def get_short_name(self):
#         """
#         Get a string representing the user's short name.
#         :return: A string representing the user's short name.
#         """
#         return self.first_name
# 
#     def send_email(self, subject, message, from_email=None, **kwargs):
#         """
#         Send an email to this user.
#         :param subject: The subject for the email.
#         :param message: The message to include in the email.
#         :param from_email: The email address where the email should originate from.
#         :param kwargs: Keyword arguments for send_mail.
#         :return: None
#         """
#         send_mail(subject, message, from_email, [self.email], **kwargs)


from django import forms
from ..models import StreetArtUser
# -*- coding: utf-8 -*-
from __future__ import absolute_import




class NewUserForm(forms.ModelForm):
    """
    This is a form for handling the registration of a new user.
    """

    class Meta:

# Path: sectesting/streetart/models/user.py
# class StreetArtUser(AbstractBaseUser, PermissionsMixin, BaseStreetArtModel):
#     """
#     This is a custom user class for users of the Street Art project.
#     """
# 
#     # Columns
# 
#     email = models.EmailField(_('email address'), unique=True)
#     first_name = models.CharField(_('first name'), max_length=30, blank=True)
#     last_name = models.CharField(_('last name'), max_length=30, blank=True)
#     date_joined = models.DateTimeField(_('date joined'), auto_now_add=True)
#     is_active = models.BooleanField(_('active'), default=True)
#     is_staff = models.BooleanField(default=False)
# 
#     USERNAME_FIELD = "email"
#     REQUIRED_FIELDS = []
# 
#     objects = StreetArtUserManager()
# 
#     # Class Meta
# 
#     class Meta:
#         verbose_name = _('user')
#         verbose_name_plural = _('users')
# 
#     # Methods
# 
#     def get_full_name(self):
#         """
#         Get a string representing the user's full name.
#         :return: A string representing the user's full name.
#         """
#         to_return = "%s %s" % (self.first_name, self.last_name)
#         return to_return.strip()
# 
#     def get_short_name(self):
#         """
#         Get a string representing the user's short name.
#         :return: A string representing the user's short name.
#         """
#         return self.first_name
# 
#     def send_email(self, subject, message, from_email=None, **kwargs):
#         """
#         Send an email to this user.
#         :param subject: The subject for the email.
#         :param message: The message to include in the email.
#         :param from_email: The email address where the email should originate from.
#         :param kwargs: Keyword arguments for send_mail.
#         :return: None
#         """
#         send_mail(subject, message, from_email, [self.email], **kwargs)


# Path: sectesting/streetart/forms/user.py
from django import forms
from ..models import StreetArtUser

# -*- coding: utf-8 -*-
from __future__ import absolute_import




class NewUserForm(forms.ModelForm):
    """
    This is a form for handling the registration of a new user.
    """

    class Meta:

        model = StreetArtUser