Django-pydantic-field

Latest version: v0.3.12

Safety actively analyzes 710644 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

0.3.12

What's Changed
* Drop Python 3.7, declare 3.13 support by surenkov in https://github.com/surenkov/django-pydantic-field/pull/76
* Use plain exception strings when throwing `django.core.exceptions.ValidationError` by surenkov in https://github.com/surenkov/django-pydantic-field/pull/79
* Type adaptation in `from_db_value` by surenkov in https://github.com/surenkov/django-pydantic-field/pull/78


**Full Changelog**: https://github.com/surenkov/django-pydantic-field/compare/v0.3.11...v0.3.12

0.3.11

What's Changed
* fix ValidationError on empty form rendering by amyasnikov in https://github.com/surenkov/django-pydantic-field/pull/75


**Full Changelog**: https://github.com/surenkov/django-pydantic-field/compare/v0.3.10...v0.3.11

0.3.10

What's Changed
* Propagate `allow_null` parameter to base DRF Field by surenkov in https://github.com/surenkov/django-pydantic-field/pull/70


**Full Changelog**: https://github.com/surenkov/django-pydantic-field/compare/v0.3.9...v0.3.10

0.3.9

What's Changed
* Bypass field validation on model instantiation if it does not contain a `default=` argument by surenkov in https://github.com/surenkov/django-pydantic-field/pull/63


**Full Changelog**: https://github.com/surenkov/django-pydantic-field/compare/v0.3.8...v0.3.9

0.3.8

What's Changed
* Add `django-jsonform` widget incorporation for v2 fields by surenkov in https://github.com/surenkov/django-pydantic-field/pull/59


**Full Changelog**: https://github.com/surenkov/django-pydantic-field/compare/v0.3.7...v0.3.8

0.3.7

In 0.3.5, I introduced an incompatibility with Pydantic v1: particularly, importing `pydantic_core` unconditionally in compatibility layer :eyes:. Thank you Abdullah0297445 for the bringing attention to this!

Both 0.3.5 and 0.3.6 were yanked from PyPI, I highly encourage to upgrade your pinned versions if you're the lucky one who has experienced this issue.

What's Changed
* Removed a dangling import which is causing the install to fail in v0.3.5 and v0.3.6 by Abdullah0297445 in https://github.com/surenkov/django-pydantic-field/pull/60

New Contributors
* Abdullah0297445 made their first contribution in https://github.com/surenkov/django-pydantic-field/pull/60

**Full Changelog**: https://github.com/surenkov/django-pydantic-field/compare/v0.3.6...v0.3.7

Page 1 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.