"no such column: report_userprofile.profile_pic"
This error suggests that your database table has no such column profile_pic.
After you add one column in the model of django,you have to add the
according column with proper column type for the table.Django won't do it
for you.
You can refer to http
I'm currently working on my first Django project and have hit a
roadblock in regard to adding an ImageField to an existing model.
I currently have a model for a user posting content and one for django-
profiles. For the former, I added an ImageField so the used can submit
a photo to accompany the
2 matches
Mail list logo