-
An embedded document that contains a `ReferenceField` can not be compared to another until it is saved.
``` python
import mongoengine
class Bar(mongoengine.Document):
baz = mongoengine.StringFie…
-
This is probably related to #23. If the model contains a `ListField` wrapping an `EmbeddedDocumentField` and the latter is built from a string, then `model_form` fails.
The following code shows the p…
mapio updated
4 years ago
-
With the following documents:
``` python
from mongoengine import *
class Referred(Document):
something = StringField()
class Embedded(EmbeddedDocument):
refs = ListField(ReferenceField(Refe…
-
I'm looking to migrate from MongoEngine to Djongo. Has anyone done this and kept track of their 'gotchas'? I just like the concept of using as pure a Django as possible and removing several dependenci…
-
Default values are never written to DB if containing prop was removed before:
````python
import mongoengine
class Embdoc(mongoengine.EmbeddedDocument):
prop = mongoengine.IntField(default=…
sknat updated
5 years ago
-
for example
if I have images list and each list item has imageField if I will try to open image in browser new window
`/admin/product/api/file/?coll=images&id=59b48422ab2cfb4f873360ca`
it opens…
-
Hi,
was wondering if we could get a hand diagnosing the problem.Don't have access to the linux side logs , but will pass these to the ops guys that do. (at worst i will have mongo access tomorrow)
…
-
Because of this line:
https://github.com/umutbozkurt/django-rest-framework-mongoengine/blob/2ab11b39428f5c3ecc0712885884e3c325528e66/rest_framework_mongoengine/utils.py#L147
If `default` is "falsy…
-
https://github.com/MongoEngine/mongoengine/blob/835d3c3d186144f1b7d4d929d40712c8ef75dd21/mongoengine/queryset/base.py/#L1739
-
I posted this as a question on SO: http://stackoverflow.com/questions/35068300/ and was answered it may be a bug, so here it is:
In a request, I set a dictionary in `session['test']`:
```
session['t…