You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use the app to make profile photo upload easy. I have a default User model in Django (5.01) and there is a Profile model with one to one link to the user model. When a user registers, I create a Profile instance with th foreign key and leave the other blank. Here is the field definition:
I would like to use the app to make profile photo upload easy. I have a default User model in Django (5.01) and there is a Profile model with one to one link to the user model. When a user registers, I create a Profile instance with th foreign key and leave the other blank. Here is the field definition:
When I try to save my profile, where the avatar field is empty as all the others but the user, I got an exception:
The issue is within your fields.py file at row 184 in pre_save method, the following line:
Obviously the self.cropperconstobj is None.
The text was updated successfully, but these errors were encountered: