Pydantic for Django


Summary of my bookmarked Github repositories from Jun 1st, 2024

Github repositories

  • jordaneremieff/djantic

    Djantic: Pydantic Model Support for DjangoDjantic is a library that seamlessly integrates Pydantic with Django, enabling the automatic creation of Pydantic model instances from Django model classes. It supports JSON schema generation and custom export behavior for Django model data. Key features include multi-level relationship handling and configurable field inclusion/exclusion. Installation is straightforward via pip, and usage examples illustrate schema creation, data loading, and JSON export. For detailed documentation, visit the Djantic documentation.