Reputation: 1938
QUESTION: Is there decision as similarly as Django's modelforms?
pip freeze
:
...
pymongo==2.5
mongoengine==0.7.10
...
MY ATTEMPTS:
django-mongodbforms It doesn't work. I tried do it but I got an exception which it was fixed by me. Then I got result without form's fields by code:
from mongodbforms import DocumentForm from myapp.mongomodels import MyModel class BlogForm(DocumentForm): class Meta: document = MyModel
I didn't continue and decided to ask here.
Upvotes: 0
Views: 1055
Reputation: 892
MongoDBForm which you are trying doesn't work with pymongo > 2.2. I think it's not compatible with mongoengine 0.7.x
Upvotes: 1