In Today's part of the series, we are going to create profile for a user by including additional information such as profile picture, and bio.
...
For further actions, you may consider blocking this person and/or reporting abuse
It was a very cool tutorial. I had such a problem, I added new 21 fields to the
Profile
model. I can't save this data to the db. Where did I make a mistake? Please tell me.models.py
forms.py
Thanks, can you tell me what error you are getting?
The data received from form 21 is not being entered into the database. With one word, the profile does not expand.
Line numbers are not shown in the code. Can you be more descriptive please. And also send me a screenshot of the error. Thanks.
I have the same issue, no errors in the application at all, but I have check the user_profile table in the database and I have notice that the added fields have null values, even I entered them in register.
I think you should do profile.save() in the register view.
Please move to iommi forms, you don't have to write such a big form and it is easy to save. Less code and configuration :)
thank you!!!
My pleasure.
This is a really great tutorial.
I jumped over to your Password Reset Tutorial (dev.to/earthcomfy/django-reset-pas...) and ran into a series of issues, but eventually figured it out using SendGrid.
Thanks for creating these tutorials.
Hi, thanks for the kind feedback.
The issues might have been caused if you used the less secure apps setting to allow your app to send email. That setting is no longer available. If you want to send emails from your Google account, you should rather enable 2FA for your Google account and create app password.
smt. is not wroking is there any other way that i can send email verification to user.
Nice tutorial, like it :)
Thanks, glad you enjoyed it.