Steps to reproduce:
- Go to
Student Dashboard from Training option in navigation bar.
- It will redirect you to
http://localhost:8000/participant/login/
- Click on register which will redirect you to
http://localhost:8000/participant/register/
- On submitting that form error occurs, see below for error detail:
On registering user null value constraint error occurs as mdldjango.views.mdl_register is not providing required field id on save. In other functions they are using user_id as mdluser_id. So, we can't change that field to auto increment. Check attached error screenshot for detail.

Steps to reproduce:
Student Dashboardfrom Training option in navigation bar.http://localhost:8000/participant/login/http://localhost:8000/participant/register/On registering user
nullvalue constraint error occurs asmdldjango.views.mdl_registeris not providing required fieldidon save. In other functions they are usinguser_idasmdluser_id. So, we can't change that field to auto increment. Check attached error screenshot for detail.