-
/dev/streamcrab$ sudo python toolbox/collect-tweets.py happy 2000
Traceback (most recent call last):
File "toolbox/collect-tweets.py", line 28, in
models.connect()
File "/home/venkat/dev/stre…
-
I have a Charger document that contains a discount EmbeddedDocumentField. I also have a serializer for Charger.
```python
class Discount(mongoengine.EmbeddedDocument):
amount = mongoengine.Floa…
-
Upon attempting to access a ListField wrapping a GenericLazyReferenceField the above internal error is thrown.
Here are the relevant portions of my use case:
```
class Image(db.Document):
__ap…
-
I'm attempting to create a REST service with the following:
```
class Configuration(mongoengine.DynamicEmbeddedDocument):
storage = mongoengine.IntField(default=150)
notify = mongoengine.B…
-
In my own app I am trying to subclass IEDocument to have additional fields and methods, but mongoengine says I can't do it. Not sure if bug or design decision, but it would be useful in my case to be …
-
I would like to use MongoEngine instead of Flask_MongoEngine since the second seems unsupported.
[The documentation](https://github.com/lingthio/Flask-User/blob/master/docs/source/api_db_adapters.r…
-
Hi.
`marshmallow-mongoengine` uses Marshmallow's `post_dump` / `post_load` decorators.
The [docs](http://marshmallow.readthedocs.io/en/latest/api_reference.html#module-marshmallow.decorators) say:
…
-
With the following documents:
``` python
from mongoengine import *
class Referred(Document):
something = StringField()
class Embedded(EmbeddedDocument):
refs = ListField(ReferenceField(Refe…
-
Example:
`def view_todos(page=1):
paginated_todos = Todo.objects.paginate(page=page, per_page=10)`
Assumption : Todo doesn't have any records in database
Result:
As page = 1, next_nu…
-
I really, _really_ want to use this.
I have a skeleton project with the following installed (on Ubuntu 12.10):
django-mongodbforms
Django 1.4.3
Pymongo 2.4.1
Mongoengine 0.7.9
I'm not using Mongoen…