Skip to content

fix: migrate ModelSchemas from Config to Meta and model_fields to fields#124

Open
Prasanth-S7 wants to merge 2 commits intom2b3:mainfrom
Prasanth-S7:fix/schema-meta-migration
Open

fix: migrate ModelSchemas from Config to Meta and model_fields to fields#124
Prasanth-S7 wants to merge 2 commits intom2b3:mainfrom
Prasanth-S7:fix/schema-meta-migration

Conversation

@Prasanth-S7
Copy link

@Prasanth-S7 Prasanth-S7 commented Feb 8, 2026

Fixes: #123

This PR fixes a startup failure when running the project using the Docker setup caused by deprecated Django Ninja ModelSchema configuration.

Changes done:

  • Migrated all model schemas from class Config to class Meta and model_fields to fields

How to test:

The application should now start without errors when trying to setup with docker compose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker setup fails due to outdated Django Ninja ModelSchema configuration

1 participant