-
Notifications
You must be signed in to change notification settings - Fork 205
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
Geoposition Field save manually #78
Comments
I took the ... I believe the bug is in the
|
Hello, After applicating your change to my version of geoposition i was still left with one trouble which was that lat and long would always be 0. This is due to the fact value_parts.rsplit('s') ended up in ["[Decimal('50.8330962')", " Decimal('4.358464599999934')]"], making the conversion raise an exception. Changing the code to remove litterals from the string made everything go fine. wonder if it helps. But thanks anyway |
Changing
to
worked nicely for me. |
Hi. I am unable to save the instace. Could you please explain a bit in detail then I can workaround on this issue. |
Okay. Just for now. This is my workaround on the models.py
comp.position = "23.2,122.0"
comp.save() The position has to be string concatenate with string. |
I need to save a Geoposition Field manually. How can I do that?
If you believe this is a bug, as I suspect. I could solve it and collaborate with the library.
The text was updated successfully, but these errors were encountered: