When I click on "Add row" in admin interface, the request to /admin/api/tables/example/new/ fails with a bunch of traceback ending in a following error:
pydantic_core._pydantic_core.ValidationError: 1 validation error for ExampleOptional
number
Input should be a valid integer [type=int_type, input_value=DEFAULT, input_type=Unquoted]
For further information visit https://errors.pydantic.dev/2.6/v/int_type
And that leads to improperly filled contents of the Add Item page.
piccolo==1.5.0 piccolo_admin==1.3.2 piccolo_api==1.4.0
So I have a table in postgres:
When I click on "Add row" in admin interface, the request to
/admin/api/tables/example/new/
fails with a bunch of traceback ending in a following error:And that leads to improperly filled contents of the Add Item page.