Avadoot Nachankar

Results 4 issues of Avadoot Nachankar

I'm trying to have a field which is basically a list but hold _basestring as well as ObjectIds as it's values at the same time_; and so trying following code:...

bug

- About [MongoDB GeoJSON](http://docs.mongodb.org/manual/core/2dsphere/) - [Visit these examples for more details](https://blog.codecentric.de/en/2013/03/mongodb-geospatial-indexing-search-geojson-point-linestring-polygon/) - For time being using something like: ``` structure = { . . . 'location': dict } ```

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]:...

///////////////////////////////////////////////////////////////////////////////////////////////// @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")...