mongoengine
MongoEngine specifying an ID
I\'m having trouble getting MongoEngine to accept specific 开发者_如何学编程IDs. It seems absolutely determined to use (and only use) ObjectIds. I\'m more than able to generate my own IDs in this inst[详细]
2023-03-05 21:11 分类:问答mongoengine cross object links
I\'ll really new in mongo and mongoengine. I\'ll whant to create object like this: class Candle(Document):[详细]
2023-03-05 15:11 分类:问答Slicing in mongoengine
I have a Thread document which has within it Comments, which are EmbeddedDocuments. I don\'t want to have all of the comments return at once, but instead display them ten at a time.[详细]
2023-03-01 12:46 分类:问答PyMongo vs MongoEngine for Django
For one of my projects I prefered using Django+Mongo. Why should I use MongoEngine, but not just PyMongo? What are advantages? Querying with PyMongo gives results that are allready o开发者_StackOverf[详细]
2023-02-26 10:35 分类:问答Interrelated requests MySQL, analogue in MongoDB
Good day dear colleagues, I decided to move some projects fromMySQL to MongoDB and faced several difficulties:[详细]
2023-02-15 19:37 分类:问答Django with Pluggable MongoDB Storage troubles
I\'m trying to use django, and mongoengine to provide the storage backend only with GridFS. I still have a MySQL database.[详细]
2023-02-12 02:29 分类:问答Converting Django project from MySQL to Mongo, any major pitfalls?
I want to try Mongodb w/ mongoengine.I\'m new to Django and databases and I\'m having a fit with Foreign Keys, Joins, Circular Imports (you name it).I know I could eventually work through these issues[详细]
2023-02-05 17:49 分类:问答Creating a User Registration Page using MongoEngine
I am currently working an a开发者_开发百科 webapp, using mongoengine and django, which will require users to create an account from a registration page. I know MongoEngine has an authentication backen[详细]
2023-02-04 20:15 分类:问答Why do I getting 'FileField' object has no attribute 'put'?
Following http://mongoengine.org/docs/v0.4/guide/gridfs.html documentation about mongoengine FileField I did the following:[详细]
2023-01-25 16:06 分类:问答Implementing Bi-Directional relationships in MongoEngine
I\'m building a Django application that uses MongoDB and MongoEngine to store data. To present a simplified version of my problem, say I want to have two classes: User and Page. Each page should assoc[详细]
2023-01-18 23:20 分类:问答