Last active
December 20, 2015 19:48
-
-
Save tylerharper/6185411 to your computer and use it in GitHub Desktop.
django serializer save issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Django Serializer does not update many 2 many tables nicely with the using paramenter passed into its save. The object itself use the using database, but the many to many objects will not be saved using the using database. Instead it uses some other database. | |
How does it get that other database? | |
django/core/serializers/base.py:167: | |
django/db/models/fields/releated.py:824: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment