Skip to content

suggestion: add support for django #5

@yashasolutions

Description

@yashasolutions

First of all, thank you for this excellent project! py-pglite looks like a brilliant tool for ultra-fast test environments, and the in-memory PostgreSQL approach is a game-changer for many use cases.

Currently, py-pglite offers native support for SQLAlchemy and SQLModel, which is great. However, I’d like to propose adding native support for Django ORM models as well. Django has a large and active user base, and in-memory test databases are highly valuable for running fast unit and integration tests during development and CI.

Django’s default test setup involves spinning up and tearing down actual PostgreSQL instances, which can be slow - so the in memory approach sounds attractive.

I don't know how much work it would be, but in case it is not too much work it feels it would be valuable for a large audience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions