Open gautamjajoo opened 3 years ago
@gautamjajoo , In frontendv2 updating profile is working fine with me. Could you please more elaborate on how it happened.
@Alabhya268 I was updating the profile by adding name/links but the changes were not displayed and error 400 was showing up.
@gautamjajoo , It turned out trying to remove Affiliated to
is causing this issue, Everything else is working fine.
I will try to fix this issue.
@gautamjajoo @RishabhJain2018 @Ram81
In accounts models.py affiliate is required field, we can simply fix this issue by allowing it to be blank but while running migrations we need secret key. Please tell me what should be done next.
we need secret key. @Alabhya268 there is no secret key needed for generating migrations. You can just update the model file and generate a migration file from that. Let me know if you have any doubts
@Ram81 , I am getting this error when generating migrations. Please have a look.
(venv) alabhya@alabhya-OMEN-by-HP-Laptop-15-dc0xxx:/media/alabhya/DATA4/PROJECTS/Open Source/EvalAI$ python manage.py makemigrations accounts
Traceback (most recent call last):
File "manage.py", line 22, in
@Alabhya268 are you running EvalAI using docker-compose
? If yes, could you try exec'ing into the django docker container and run migrations again to see if you face this issue.
The users are not able to update the profile on the new frontend. Error 400 is popping up.
@Ram81 @RishabhJain2018