fix django custom user mode + debug mode

with django in a custom user mode and debug mode the admin page was crashing so i just inserted a try except on validation avoiding the crashs on debug mode