django-jsonform icon indicating copy to clipboard operation
django-jsonform copied to clipboard

Cooperation with other repository `django-pydantic-field` for model schema validation

Open sshishov opened this issue 1 year ago • 2 comments

Hi dear maintainer. I am writing to you about possible cooperation with another repository: https://github.com/surenkov/django-pydantic-field.

This repository add the database field which can validate the data before the model is saved using pydantic. I know it is not raw JSON schema but anyways...

Nowadays a lot of people using pydantic and providing at least the HOWTO use your widget and forms with additional model validation would be useful (model validation helps when you are working in the shell, fixing something).

sshishov avatar Mar 26 '24 15:03 sshishov

+1

abe-101 avatar May 14 '24 02:05 abe-101

Hi @sshishov.

Sorry for getting back to you so late.

I've never used Pydantic. So you'll have to give me some examples, use-cases etc so I know how django-jsonform can be used with django-pydantic-field and what I can do to make the integration easier.

Thank you.

bhch avatar Sep 16 '24 04:09 bhch