ModelViewSet multiple databases put get post serializer.is_valid #7921
Unanswered
mehmetaktan
asked this question in
Question & Answer
Replies: 1 comment 3 replies
-
Hi @mehmetaktan , I'm facing the same issue. Did you find any solution? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
I use multiple databases. Branch.objects.using (db_name) .update (** validated_data) also updates this way, but I have to do "serializer.is_valid(raise_exception=True)". It constantly returns valid errors from the default database. How do I mount ModelViewSet put get and post "using(db)". Can you help me? I'm sorry for my bad english.
or
Beta Was this translation helpful? Give feedback.
All reactions