views.py
42.5 KB
-
Catch exception with duplicate username/email · 6e617fe2
Previously, there was no catch for the AccountValidationError exception raised by the account creation function. If, for some reason, the user made it past the first check for a duplicate username/email, then the exception was raised, uncaught, and crashed the server.
Nishant Karandikar committed