3 ms·
Django offers a validate function that does exactly that. Unfortunately, the email uniqueness constraint is handled in our save function, due to some backend co
by taylorfausak 15y ago
Django offers a validate function that does exactly that. Unfortunately, the email uniqueness constraint is handled in our save function, due to some backend complexity. So it wouldn't have helped here. Plus, it was a typo that caused the problem, not the function :)
- charliesome 15y agoI'm struggling to think of what kind of backend complexity would make it infeasible to check email uniqueness in validation. Care to elaborate?