Questions tagged [django-mongodb-engine]

Django MongoDB Engine is a MongoDB database backend for Django.

Django MongoDB Engine is a database backend adding support for MongoDB to the Django web framework.

85 questions
0
votes
2 answers

How to Structure Time-Series model in django-mongodb-engine

I'm trying to define a time-series model in django using mongodb as the backend. I read about some best practices for timeseries data at the MongoDB Blog, and I think I understand it well enough. But now, my problem/question is: how do I define such…
James
  • 2,488
  • 2
  • 28
  • 45
0
votes
3 answers

django-mongodb-engine and Django's native auth system

As stated in the title, I am using django-mongodb-engine and I am attempting to configure the native Django authentication framework. I've read some comments online that it should work out of the box sans some features. However, I couldn't find any…
James
  • 2,488
  • 2
  • 28
  • 45
0
votes
1 answer

Django Prevent Automatic Save During Object.Create

First off disclaimer: I'm using django-mongodb-engine it's possible the issue I'm observing is due to the different db driver. In any event, it seems that calling MyModel.object.create() actually creates a database entry. This is contrary to the…
James
  • 2,488
  • 2
  • 28
  • 45
0
votes
1 answer

django mongo db exception on syncdb command

I am using django 1.5.5 with django-mongodb-engine version 0.5.1. I installed djangotoolbox via following command: sudo pip install git+https://github.com/django-nonrel/djangotoolbox In python dist-packages, djangotoolbox version is 1.6.2. Getting…
S-T
  • 479
  • 2
  • 4
  • 17
0
votes
2 answers

Django and Mongodb, connection refused when using syncdb

I am using django_mongodb_engine so I can use Mongodb as my backend for Django. I am running Ubuntu 12.04.3. However, whenever I use 'python manage.py syncdb', I'm getting this error: 'ConnectionFailure: could not connect to ###.###.##.#:6645…
user2682169
  • 39
  • 2
  • 8
0
votes
4 answers

Django: How to get count of ValuesQuerySet?

I am trying to get count to work on a ValuesQuerySet. According to Django documentation values = Model.objects.values() will return a ValuesQuerySet which is a subclass of QuerySet Returns a ValuesQuerySet — a QuerySet subclass that returns…
auny
  • 1,920
  • 4
  • 20
  • 37
0
votes
1 answer

How to configure settings.py in Django for MongoDB?

I have already completed a Django server installation and now I want to connect it to a MongoDB database. For that I changed my settings.py file of my project like this: DATABASES = { 'default': { 'ENGINE': 'django_mongodb_engine', …
arglee
  • 1,374
  • 4
  • 17
  • 30
0
votes
1 answer

How do I point django settings.py to point mongoDB?

Currently my settings.py looks something like this DATABASES = { 'default': { 'ENGINE': 'django_mongodb_engine', 'NAME': 'gb', 'USER': '', 'PASSWORD': '', …
Karthik
  • 144
  • 1
  • 6
0
votes
2 answers

Django MongoDB Engine connection failure

[SOLVED] After successfully completing the django tutorial, I have tried to use mongoDB as a database, with Django MongoDB Engine. This is the database configuration in settings.py: DATABASES = { 'default': { 'ENGINE':…
DrKaoliN
  • 1,346
  • 4
  • 25
  • 39
-1
votes
1 answer

ImportError: No module named django.mongo_auth

When trying to setup environment to run django-nonrel and mongoengine, I keep getting following error. The project runs fine on different computer where it was developed. Traceback (most recent call last): enter code hereFile "manage.py", line 10,…
1 2 3 4 5
6