Fixed a regression with ValidationError under Django 1.6
Merge pull request #1216 from linovia/master

Fixed a regression with ValidationError under Django 1.6