tweaked for django 1.7 booleanFields in model