Skip to content

Forced marriage of two Django projects #124

Answered by Archmonger
numpde asked this question in Question
Discussion options

You must be logged in to vote

IDOM currently does not provide any built-in methods of sharing generic data between separate Django projects.

In terms of sharing generic data, the current method would likely involve API calls and then use_query database fetching in your components.


In terms of sharing pre-written components from one Django project to the other, that's a bit rough. Especially given they're in separate docker containers. Sharing Python modules between two dockers is a general technological challenge.

You should consider docker exporting a common directory which contain the component files. Then, you can either use importlib to ensure the Python interpreter is aware of these new dotted paths, or contain …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@numpde
Comment options

Answer selected by numpde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants