django-mongokit icon indicating copy to clipboard operation
django-mongokit copied to clipboard

Bridging Django to MongoDB with the MongoKit ODM (Object Document Mapper)

Results 8 django-mongokit issues
Sort by recently updated
recently updated
newest added

In [1]: from gnowsys_ndf.ndf.models import * In [2]: from django_mongokit import get_database In [3]: from bson import ObjectId In [4]: db = get_database() In [5]: db.collection_names() Out[5]: [u'system.indexes'] In [6]:...

I create a form, but i can't put some attrs into the form field just like origin django.It take no effect? How to due with it? My code is like...

I'm not sure, but it looks like we need to authenticate before accessing a database on a remote mongod. Maybe that is something new from pymongo/mongokit ? Warning: code wasn't...

Is there any way that I can create nested structure Model Class. It looks like this library is not updated for long time. Is there any new library which has...

Hi, With pymongo I can specify: db.add_son_manipulator(NamespaceInjector()) db.add_son_manipulator(AutoReference(db)) and then set dbref as: db.collection({'attr': db.collection_alt.find_one({params}), ...}).save() How do I achieve the same with django_mongokit

///////////////////////////////////////////////////////////////////////////////////////////////// @connection.register class Author(DjangoDocument): collection_name = 'Authors' structure = { 'name': unicode, 'created_at': datetime.datetime } ``` required_fields = ['name'] default_values = {'created_at':datetime.datetime.utcnow} use_dot_notation = True def my_func(self): print(" my_func working...\n")...

Django-mongokit doesn't seem to play nicely with South (the Django database migration library). When I add mongokit to my settings.py database connections, I get the following error: $ ./manage.py shell...