BuildmLearn/University-Campus-Portal-UCP

Adding users through django admin

Opened this issue · 3 comments

@pranav15197
I am able to add users and set their email through the django-admin page but I cannot log in via the same into the UCP site.
"the username or password provided was invalid" -> this particular is response is displayed.

Also the html for verification email is not getting rendered, eg:

Welcome to University Campus Portal

Hey N !

Thank you for signing up on our portal

Please click here to verify your email address

If the above link does not work, copy paste the following in your browser address bar

http://localhost:8000/user/verify_email/?email=naivedyabansal@rediffmail.com&code=6866007d72a4ee9dc45e1b9a236ee3ea2833c465814f83aaa611f94d4928be6d&format=json

This might be specific to rediffmail though.

It gets rendered here in github comments :P but not in the mail, I hope you get what I am trying to say.

@naivedyabansal can you describe what is the error you are getting while rendering the generated url ?

@naivedyabansal you have to also add their userProfile object in userProfile table.