We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Django's dumpdata command results in PathField instances being serialized like this:
... "path": "[\"0E-10\"]", ...
Then, loaddata results in a deserialization error because the value is a string rather than an array.
Django's documentation for custom fields notes that the to_python method should gracefully handle values of type str as well as the expected type.
to_python
str
Closed by #14
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Django's dumpdata command results in PathField instances being serialized like this:
Then, loaddata results in a deserialization error because the value is a string rather than an array.
Django's documentation for custom fields notes that the
to_python
method should gracefully handle values of typestr
as well as the expected type.Closed by #14
The text was updated successfully, but these errors were encountered: