Moved checkDjangoError to DjangoUtils, check now throws an exception if it finds a problem