Removed bad assert that prevented passing instance as a lambda for auto__model of Form
@@ -1362,9 +1362,6 @@ def __init__(
assert (
not model
), "You can't use the auto feature and explicitly pass model. Either pass auto__model, or we will set the model for you from auto__instance"
- assert (
- not instance
- ), "You can't use the auto feature and explicitly pass instance. Pass auto__instance (None in the create case)"
if auto.model is None:
auto.model = auto.instance.__class__
