Questions tagged [djangoappengine]

djangoappengine is a pluggable Django app that allows you to use App Engine's datastore with Django.

djangoappengine is a pluggable Django app that allows you to use App Engine's datastore with Django.

It provides the necessary plumbing to query the datastore, and custom management commands for deploying and running the SDK.

97 questions
0
votes
2 answers

How to change default postgres user on django deployed on app engine standard environment?

I have a project using django which is deployed in app engine standard environment. When I use cloud_sql_proxy.exe for makemigrations on django, an error like this appears : (venv) G:\John Drive\Python\Project\My Project>python manage.py…
0
votes
0 answers

How to Django-non/Djangoappengine/django-filetransfers file upload in the admin?

I want to upload a file in the admin using django-filetransfer and so far I have got as far overriding the render_change_form method in admin.ModelAdmin. What am I missing? def render_change_form(self, request, context, add=False, change=False,…
mrbillyocean
  • 1,341
  • 1
  • 14
  • 24
0
votes
1 answer

How to move data stored locally to BigTable when deploying Django?

I am using djangoappengine to deploy a Django app on Google App Engine. I have a lot of data already stored locally, and when I deploy the project with GAE it disappears. How do I get this data to carry over from the dbindexer to the…
maxko87
  • 2,892
  • 4
  • 28
  • 43
0
votes
2 answers

Django-nonrel on Google App Engine, getting error i'm using Django 0.96

I'm using Django Appengine http://www.allbuttonspressed.com/projects/djangoappengine so I can use Django 1.3 and everything seems to work fine. However, when opening pages my PyDev console (OS 10.6, Aptana Studio 2.0, Python 2.5) puts out this…
adam
  • 3,498
  • 6
  • 34
  • 46
0
votes
2 answers

Angular frontend with django rest backend on google cloud app engine error 502 Bad Gateway

I have deployed my angular front end with Django Rest Framework backend on Google App Engine. When I make a request to the backend from the frontend I get an error 502 Bad Gateway any help on identifying the problem will be really appreciated. I…
0
votes
1 answer

App Engine - is it mandatory to use warmup request to use min_instances?

I currently use app engine standard environment with django. I want to have automatic scaling and always have at least one instance running. Consulting the documentation it says that to use min_instances it is recommended to have warm up requests…
Nato
  • 88
  • 8
0
votes
1 answer

Google App Engine Development Task Queue Not Running

I'm adding Tasks to my development default task queue like so... task = Task(params={'id':'foo','name':'bar'}, countdown=0, url = '/foobar', ) task.add() But my Tasks just sit in the default queue and don't execute. If I run them manually…
Chris W.
  • 37,583
  • 36
  • 99
  • 136
0
votes
2 answers

UnicodeEncodeError on djangoappengine

I've downloaded the djangoappengine project sample django-guestbook from www.allbuttonspressed.com to test how it works but the following error message is shown when I to access the URL localhost:8000 Traceback (most recent call last): File …
0
votes
1 answer

deploying djangoappengine on google app engine

http://www.allbuttonspressed.com/projects/djangoappengine I copied the 4 folders it said to: django-nonrel/django => /django djangotoolbox/djangotoolbox => /djangotoolbox django-dbindexer/dbindexer => /dbindexer djangoappengine =>…
zallarak
  • 5,287
  • 7
  • 38
  • 54
0
votes
2 answers

Including javascript files with templates

I am using AppEngine with the webapp framework (python). In my script I am generating javascript code dynamically with Django, for example: python controller file template_values = { 'page': '1', } path =…
Joel
  • 5,949
  • 12
  • 42
  • 58
0
votes
1 answer

whats the recommended way of adding the fields to a djangoform object?

whats the recommended way of modifying/adding the fields in a djangoform object i was trying adding a new key to the dictionary obj.base_fields['new_field']='value_of_newfield' but as it turns out that it will be added as a string and not a…
Bunny Rabbit
  • 8,213
  • 16
  • 66
  • 106
0
votes
1 answer

Appengine - how to get an entity and display values

I'm having trouble with my project. I have 2 models class UserPrefs(db.Model): user = db.UserProperty() name = db.StringProperty() class Person(db.Model): name = db.StringProperty() phone = db.PhoneNumberProperty() userPrefs =…
0
votes
2 answers

Django templating engine and external js files

I'm writing a Google app engine app and obviously the default web app framework is a subset of Django. As such I'm using it's templating engine. My question is if I have say the following code: template_values = { 'first':first, …
citronic
  • 9,868
  • 14
  • 51
  • 74
0
votes
2 answers

AppEngine Python - updating entity properties without twenty elif statements

Suppose I have an AppEngine model defined with twenty different StringProperty properties. And then I have a web form, which POSTs updated values for an entity of this model. I end up with something like this after reading in the form…
0
votes
1 answer

Django management commands is not able to find my application

I having problem running my custom command, as it will throw a NameError: global name "graphofknowledge" is not defined. My file structure is projectFile |-manage.py |-.. |-graphofknowledge (app) |-models.py |-views.py |-management …
LeonBrain
  • 347
  • 1
  • 3
  • 15