Questions tagged [django-nonrel]

Django-nonrel is an independent branch of Django that adds NoSQL database support to the ORM. The long-term goal is to add NoSQL support to the official Django release.

Django-nonrel is an independent branch of Django that adds NoSQL database support to the ORM. The long-term goal is to add NoSQL support to the official Django release.

Example article create application using MongoDB database. enter link description here

370 questions
4
votes
2 answers

AppEngine: using Expando class in Django NonRel?

I have an app using using Django Nonrel on AppEngine. I'd like to use a dynamic model similar to WebApp's db.Expando class - is this possible? Is the Expando class exposed to the DNR layer?
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
4
votes
2 answers

gae_mini_profiler {% profiler_includes %} gives Invalid block tag: 'profiler_includes'

I am attempting to install gae_mini_profiler in my django-nonrel app I placed the {% profiler_includes %} tag at the bottom of my base.html It results in a Exception Type: TemplateSyntaxError Exception Value: Invalid block tag:…
Gabriel
  • 1,679
  • 3
  • 16
  • 37
4
votes
2 answers

Django Serializer returns JSON for parent class objects only and leave child objects as same?

I have these models: class Projects(models.Model): projectName =models.CharField(max_length = 100,unique=True,db_index=True) projectManager = EmbeddedModelField('Users') class Teams(models.Model): teamType = models.CharField(max_length…
Anshul
  • 7,914
  • 12
  • 42
  • 65
4
votes
2 answers

How can I loaddata from a fixture remotely

With Django-nonrel on GAE, how do I do I load in a fixture to the server after deploying? I'm able to do it locallay via python manage.py loaddata fixturename But how can I do it on a deployed app that is already on appspot.com?
b-ryce
  • 5,752
  • 7
  • 49
  • 79
4
votes
1 answer

Django-nonrel can't login as super user to localhost admin site

I got the django-nonrel setup fine, and worked through the first 5 chapters of the djangobook without any real problems. I'm currently on chapter 6 which talks about creating the admin site. http://www.djangobook.com/en/2.0/chapter06/ But, I can't…
b-ryce
  • 5,752
  • 7
  • 49
  • 79
4
votes
1 answer

How can I use query cursors in Django nonrel on Google App Engine Python?

How can I use a query cursor with Django-Nonrel? If there is no way currently, it would be appreciated to tell me where to look at in Django-Nonrel. http://code.google.com/appengine/docs/python/datastore/queries.html#Query_Cursors I'm using…
Yoo Matsuo
  • 2,361
  • 2
  • 28
  • 41
4
votes
1 answer

Model inheritance in django-nonrel on app engine

On app engine's webapp framework, I can use a polymodel to create (for example) a Goal model, and then a number of child models representing different types of goals that have various sets of fields depending on the type of goal they are. This…
user458962
4
votes
1 answer

GZIP content in Google App Engine using django-nonrel

I have a django-nonrel app running in Google App Engine and am wanting all the content to be gzipped. I keep reading that GAE automatically gzips the content but when I check the headers using Firefox's web developer toolbar I get the following…
iali
  • 867
  • 1
  • 8
  • 21
4
votes
1 answer

Authentication on App Engine / Python / Django non-rel over JSON

I'm building a site on Google App Engine, running python and Django non-rel. Everything is working great for HTML and posting/reading data. But as I'm moving forward I'd like to do many of the updates with AJAX, and eventually also over mobile…
adam
  • 3,498
  • 6
  • 34
  • 46
4
votes
3 answers

Google App Engine's remote_api: Deleting all data in django nonrel

I'm using django non-rel (http://www.allbuttonspressed.com/projects/django-nonrel) and am trying to delete all the data in my production's datastore. I was reading the question posed here How to delete all datastore in Google App Engine? but the…
4
votes
1 answer

How to get django admin app working with mongodb?

I'm trying to use mongodb together with django. I mainly use the admin app of django. I noticed that there are 2 mongodb orms for django. One is mongoengine, https://github.com/MongoEngine/mongoengine Another is mongodb-engine from the…
flyingfoxlee
  • 1,764
  • 1
  • 19
  • 29
4
votes
1 answer

How to install django nonrel package

When i am trying to install pip install "git+https://github.com/django-nonrel/mongodb-engine " i am getting an error ERROR:root:Error while trying to get django settings module. Error was: Requested setting INSTALLED_APPS, but settings are not…
Shiva
  • 988
  • 4
  • 15
  • 31
4
votes
1 answer

Django-nonrel vs Django with PyMongo/Ming for use with MongoDB

I'm about to start a project with Django and MongoDB. From what I can tell, there are two ways to use Django and MongoDB together. One way is the fork of Django called Django-nonrel which supports NoSQL databases, and the other is to just use the…
Leah Sapan
  • 3,621
  • 7
  • 33
  • 57
4
votes
1 answer

Django lookup types ("iexact", "icontains", "month", etc.) not working in Django nonrel (using dbindexer)

I created an app using 'django nonrel' and am using 'django dbindexer' to allow for normal Django lookups. The settings file is as below myproject/settings.py from djangoappengine.settings_base import * import os DATABASES['native'] =…
4
votes
2 answers

Library for OAUTH2.0 provider with Django-nonrel on Google AppEngine

I'm developing an OAUTH 2.0 provider on Google App Engine with Django-nonrel. For authentication I have provided my own user authentication, so I'm not using Google Accounts. I did some research about available OAUTH2.0 libraries for creating oauth…
1 2
3
24 25