Comments (4)
Oh, my other thought is that we might find, somewhere in the save chain, an opportunity to cast back to an ObjectID (i.e. at some point when the value is being fiddled with and we know what type of field it's meant for, which we do not know when we arrive at convert_value_for_db). To me, that's more of a hack than simply not converting the values to strings in first place, but it might work. The existing conversion ObjectID-to-string strikes me as possibly good for user convenience but kind of wrong at the same time, though that may well be a function of my own ignorance :-)
from djangotoolbox.
Should be fixed in the develop
branches, see test: https://github.com/django-nonrel/mongodb-engine/blob/develop/tests/mongodb/tests.py#L132
from djangotoolbox.
Ah lovely! I'll give that a try.
from djangotoolbox.
Closing as it sounds like it was fixed a while ago. Please reopen if necessary.
from djangotoolbox.
Related Issues (20)
- django.utils.timezone is not available in djangoappengine yet HOT 1
- NoReverseMatch at /admin/auth/user/52ade053f9bed911e71dfa5e/ HOT 1
- Allow Distinct Queries HOT 2
- Nonetype object has no attribute 'model' HOT 1
- Please add documentation HOT 1
- Add ordering by fields in embedded models or dicts
- Support for max_length for ListField and SetField
- Incompatibility with Django 1.7
- python 2 print statement on test files cause exception HOT 1
- Incompatability With Django 1.8 HOT 7
- DatabaseError: Unsupported type for property : <class 'django.utils.safestring.SafeText'> HOT 6
- Bug fix
- No support DateTimeField ? is it be design ?
- Please delete this issue. Unable to remove it.
- This database doesn't support filtering on non-primary key ForeignKey fields.
- RemovedInDjango110Warning: SubfieldBase has been deprecated HOT 3
- No module named from django.utils.importlib import import_module
- importlib issue after installing django 1.11 HOT 5
- DynamicSiteIDMiddleware fails when application when the request.host is an IPv6 address
- Cert errors related to stale docs build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from djangotoolbox.