2
votes
0answers
272 views

Tastypie-nonrel, django, mongodb: too many nestings

I am developing a web application with django, backbone.js, tastypie and mongodb. In order to adapt tastypie and django to mongodb I am using django-mongodb-engine and tastypie-nonrel. This ...
2
votes
0answers
301 views

Can celery gracefully endure a mongodb failover when using it as a broker?

I'm using a mongodb replica set both as a broker and result storage for celery. I have successfully got it running against the replica set, but when I take down the primary mongodb node, and the ...
2
votes
0answers
210 views

Implementing an inline to represent a ListField in Django-nonrel

Is it possible to use something similar to the inline relational items from the Django admin to represent embedded models in a ListField? For Example, I've got the following models: class ...
1
vote
0answers
32 views

pymongo and use of ObjectId in page

I fetch results from mongodb (with django&pymongo) and print it with cursor to web page. result is returned like below within cursor {u'_id': ObjectId('51ab6decf146ee76f5f87420'), u'krm': u'test ...
1
vote
0answers
291 views

Unable to configure filter 'require_debug_false': Cannot resolve 'django.utils.log.RequireDebugFalse': No module named RequireDebugFalse

I was trying to install mongoDB in Django with the help of link, after following the steps i am not able to start the server and the error am getting is Traceback (most recent call last): File ...
1
vote
0answers
59 views

Setting up Celery with Django without any SQL

I have a Django app running on Gunicorn/Gevent, without any SQL database. I don't use Django's ORM at all, my database is mongoDB, using the mongoengine ORM. I would like to use Celery for ...
1
vote
0answers
163 views

“AttributeError: 'NoneType' object has no attribute 'get'” when calling `to_mongo` in MongoEngine

I have the following Python code to connect to a MongoDB (2.0.1 installed through MacPorts) database using MongoEngine (0.7.9 installed through pip): import datetime from mongoengine import * ...
1
vote
0answers
717 views

Fatal database error on Heroku dev

I have a Django app (music streaming service) running on a free hosting account on Heroku with a Postgres database with one web dyno. Yesterday I wrote a script that uploads mp3 files to Heroku, ...
1
vote
0answers
136 views

Need Mechanism to map directory structure to table (or document store)

db: mysql lang: python framework: django Operating System: Linux (ubuntu) The current project points I am working has a directory tree structure that will comprise of folders, sub-folders, ...
1
vote
0answers
58 views

Django : Export MongoDB with ForeignKeys

I am using Django with Mongodb, im trying to export my database like this: ./mongoexport -d foo_db -c foo_bar --csv -f "client,name,brand_manager_name,brand_manager_email" -o foo_bar.csv The ...
1
vote
0answers
135 views

mongodb when to close connections and when to make them persistent

I am writing a Django app using mongodb. For a simple GET request I need to get results from database for which I am making a connection in the HTTPRequestHandler. The db operation for the HTTPRequest ...
1
vote
0answers
429 views

Handling pymongo's AutoReconnect in a mongoengine (Django) app

mongoengine 0.4, django 1.3.1, uwsgi 1.0.2.1 Been banging my head against the wall on this one. I have a Django app that uses mongoengine. The mongodb server is a different box then my application ...
0
votes
0answers
21 views

django with mongodb giving a 504 Gateway time-out

So, I am writing a django-mongo app, using mongo for storing files as well, and using the python files mongoforms and mongoengine. Things were going well for a while, but just recently I have started ...
0
votes
0answers
32 views

Django 1.5 mongodb does not wotk

I'm working in two projects, the first one is been developed using django/mysql and the other uses django/mongodb. The first is using django1.5 and it works but the second only works in django1.3, I ...
0
votes
0answers
28 views

Django and mongodb-engine: How do models work?

I'm trying to follow this tutorial: http://django-mongodb-engine.readthedocs.org/en/latest/tutorial.html But I'm getting an error when I try to import a class: >>> from testApp.models import ...

1 2 3 4 5 6
15 30 50 per page