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
6
votes
9 answers

Django MongoDB Engine error when running tellsiteid

SO I created a django project and app as per the tutorial and I have all the dependencies necessarry for MongoDB Engine it all seemed to be working fine and dandy till I tried enabling the admin interface. I uncommented the require bits, and added…
holografix
  • 610
  • 3
  • 10
  • 24
6
votes
2 answers

Saving entities in django-nonrel with google appengine

Update: I've noticed that entities are saved (and available at the Datastore Viewer) when I save them using views (and the create_object function). But when I use shell (manage.py shell) to create and save new entity it isn't commited to the storage…
szymond
  • 1,311
  • 2
  • 19
  • 41
6
votes
1 answer

Django MongoDB problem

my django app run with mysql, but when i try with mongodb then show thie error Traceback (most recent call last): File "manage.py", line 14, in execute_manager(settings) File…
abdullah
  • 61
  • 3
6
votes
3 answers

Properly Securing GAE Task Queue URLs (without using app.yaml)

I want to secure my Task Queue URLs against malicious access. In the views that the Task Queue requests I've got: if not users.is_current_user_admin(): return HttpResponse(status=403) But my Task Queues are receiving 403 errors! I was under the…
Chris W.
  • 37,583
  • 36
  • 99
  • 136
6
votes
2 answers

Django-nonrel ≤1.3 and Memcache on Google App Engine

I'm a designer still trying to code up my first app in Google App Engine as an experiment. I have got to the point where I want to set up memcache to cache my entire site following the instructions at:…
iali
  • 867
  • 1
  • 8
  • 21
6
votes
2 answers

AttributeError: 'str' object has no attribute 'fields' Using Django non rel on GAE

I'm doing an app with Django non rel on Google App Engine, and im using Bootstrap...to use Bootstrap on Django Forms i installed django_forms_bootstrap (https://github.com/pinax/django-forms-bootstrap) The thing is...when i deploy on GAE and trying…
5
votes
1 answer

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 CartEntry(model.Model): product_name=model.CharField(…
Adam Ness
  • 6,224
  • 4
  • 27
  • 39
5
votes
2 answers

Embedding Vs Linking in MongoDB.when to embed and when to link?

I read this page but didn't get when to use embedding feature and when to use linking.I have a project in django for which I am using MongoDB.In my models.py file I have following models: class Projects(models.Model): projectName…
Anshul
  • 7,914
  • 12
  • 42
  • 65
5
votes
1 answer

Broken pipe error in Django Nonrel when loading localhost

Running Django Nonrel, with Google App Engine 2.6.0 and Python 2.7, I'm getting this exception when trying to load for the first time localhost and localhost/admin (I expect it will happen with any page, though): Exception happened during processing…
r_31415
  • 8,752
  • 17
  • 74
  • 121
5
votes
4 answers

How to make group permissions work in Django-nonrel for Google App Engine

I'm trying to get role-based permissions working for django-nonrel for GAE. Out of the box, it didn't seem to work, probably because of the implicit many-to-many relationship between Users and Groups, so I found and installed…
5
votes
1 answer

Programmatically login to google app engine c#

I've tried to login to my google app engine application from ASP.NET for a few days, but no luck. I've read the following articles and got the basic ideas. But nothing works for…
Yoo Matsuo
  • 2,361
  • 2
  • 28
  • 41
5
votes
2 answers

Recommendations with hierarchical data on non-relational databases?

I'm developing an web application that uses a non-relational database as a backend (django-nonrel + AppEngine). I need to store some hierarchical data (projects/subproject_1/subproject_N/tasks), and I'm wondering which pattern should I use. For now…
Lucian
  • 3,981
  • 5
  • 30
  • 34
5
votes
3 answers

Creating superuser in django-nonrel

I'm a newbie been going through the django-nonrel tutorials and have set up django-nonrel inside of Google App Engine. I am now trying to create a superuser using: manage.py createsuperuser --username=joe --email=joe@example.com I get Unknown…
iali
  • 867
  • 1
  • 8
  • 21
5
votes
5 answers

Django 1.8 and MongoDB?

This question is already asked on StackOverflow, The asked questions date back to 2013, Its 2015 now and Django has grown up fast. What is the situation of using mongodb with Django 1.8 as of 2015? Does Django support Monogodb out of the box (with…
user5170375
5
votes
2 answers

Google App Engine bulkloader issue when using yaml autogenerated configuration and entities with numeric ID

My application uses Django non-rel. I don't have access to model. I have my bulkloader.yaml file autogenerated by appcfg.py create_bulkloader_config. Problem is entities numeric ID's are being imported as string key names. So if I export entity…
jb.
  • 23,300
  • 18
  • 98
  • 136
1
2
3
24 25