django-shop icon indicating copy to clipboard operation
django-shop copied to clipboard

Error when try to save customer without email in admin

Open vivazzi opened this issue 7 years ago • 2 comments

I get error if I try to save existing customer without email in admin:

NOT NULL constraint failed: auth_user.email

vivazzi avatar Nov 29 '16 13:11 vivazzi

This is because the user is determined by it's email address, rather than by the username.

jrief avatar Nov 30 '16 23:11 jrief

Yes, I see it. I wanted to say that we need to show warning message instead of 500 error.

vivazzi avatar Dec 01 '16 06:12 vivazzi