Al hacer el registro de un usuario nuevo esta apareciendo este error
ValueError at /usuarios/registro
The given username must be set
Request Method: POST
Request URL: http://127.0.0.1:8000/usuarios/registro
Django Version: 4.1.2
Exception Type: ValueError
Exception Value:
The given username must be set
Exception Location: C:\Users\desarrollador\Envs\entornoPrueba\lib\site-packages\django\contrib\auth\models.py, line 144, in _create_user
Raised during: AsoftyStore.views.register
Python Executable: C:\Users\desarrollador\Envs\entornoPrueba\Scripts\python.exe
Python Version: 3.10.7
Python Path:
[‘D:\proyectoFacilito\AsoftyStore’,
‘C:\Users\desarrollador\AppData\Local\Programs\Python\Python310\python310.zip’,
‘C:\Users\desarrollador\AppData\Local\Programs\Python\Python310\DLLs’,
‘C:\Users\desarrollador\AppData\Local\Programs\Python\Python310\lib’,
‘C:\Users\desarrollador\AppData\Local\Programs\Python\Python310’,
‘C:\Users\desarrollador\Envs\entornoPrueba’,
‘C:\Users\desarrollador\Envs\entornoPrueba\lib\site-packages’]
Server time: Thu, 06 Oct 2022 13:40:15 +0000
Ya he revisado el video y el codigo varias veces pero no veo nada raro, alguna ayuda por fa