pruvious icon indicating copy to clipboard operation
pruvious copied to clipboard

Contribute: Django pruvious and graphene backend

Open unluckynelson opened this issue 11 months ago • 1 comments

I would like to contribute to by scoping what would it require to build a pruvious django plugin. The aim is to have the models and db managed by Django and expose the graphql endpoint for queries and mutations. Do you think this is feasible? Does pruvious generate alter table statements when adding blocks and fields? because this will probably be a blocker

unluckynelson avatar Jan 21 '25 08:01 unluckynelson

I don't think this is possible. Pruvious directly manages the database schema through a database connection. However, in the upcoming version 4, the ORM will be abstracted from the CMS as a separate package (@pruvious/orm). This change will allow you to extend or replace it with a custom driver that doesn't necessarily use a database connection. Your new driver must still support SQL, as many features in the CMS depend on it.

murisceman avatar Jan 21 '25 11:01 murisceman