Update validate_unique to current Django internals

Issues was caused by Django upgrading, re #230