Skip to main content

Crate pyforge_django

Crate pyforge_django 

Source
Expand description

§pyforge-django

High-performance Django integration layer built on PyForge.

Provides Rust-accelerated serialization, validation, and field mapping for Django 5.x+ projects. Designed for drop-in use with Django REST Framework.

Modules§

async_bridge
ASGI-compatible async context handling for Django.
error
Django-specific error types with mapping to Django’s exception hierarchy.
field_types
Django-specific field type mapping.
model
Django model field extraction and type mapping.
serializer
Django serialization — delegates to pyforge-core.
validator
Django validation — delegates to pyforge-core.

Structs§

ModelSchema
A compiled model schema that caches field descriptors for repeated use.