Custom User error

2021-10-18 Thread Jose Cabrera
Greetings, I am starting in the world of django and I have some problems with a custom user, for the registration of users to the database, the example that I have works 100% with the user that comes by default allows me to render the registration form user without any inconvenience, but when I

Custom User error

2021-10-18 Thread Jose Cabrera
Saludos, me estoy iniciando en el mundo de django y tengo algunos problemas con un usuario personalizado, para el registro de usuarios a la base de datos, el ejemplo que tengo funciona al 100% con el usuario que viene por defecto me permite renderizar el formulario de registro de usuario sin ni

Custom User error

2021-10-18 Thread Jose Cabrera
Greetings, I am starting in the world of django and I have some problems with a custom user, for the registration of users to the database, the example that I have works 100% with the user that comes by default allows me to render the registration form user without any inconvenience, but when I

TypeError __init__() takes 1 positional argument but 2 were given

2021-10-18 Thread Jose Cabrera
hello everyone, please help me with this error that is generated in the views.py, in class registro(CreateView): Thank you form.py class RegistrationForm(forms.ModelForm): password = forms.CharField(label='Password', widget=forms.PasswordInput) class Meta: model = UserProfile