Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multidatabase support #533

Open
davit555 opened this issue Sep 27, 2023 · 2 comments
Open

Add multidatabase support #533

davit555 opened this issue Sep 27, 2023 · 2 comments

Comments

@davit555
Copy link

in case when you want to add this framework in already existing project with the separate database
it won't work
it will fallback to default database always

@auvipy
Copy link
Collaborator

auvipy commented Sep 27, 2023

did you try django multi db config?

@pembo13
Copy link

pembo13 commented Mar 5, 2024

I too wanted to keep the activity in a separate database, but it doesn't work.

Because of the heavy reliance on contentypes a db router doesn't work. If you allow the contenttypes to be created in the secondary database, it's out of sync with the default database, and generic lookups fail. If you don't allow contenttpes in the secondary database, one gets errors since django_content_type does not exist.

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

No branches or pull requests

3 participants