I'm trying to get up and running with the django-testapp on app
engine. I've gotten it working fine in my development environment,
but I'm getting 500 server errors when I deploy it to app engine.
Here's what I'm doing:
Per http://www.allbuttonspressed.com/blog/django/2010/01/Native-Django-on-App-Engine#disqus_thread
hg clone http...
Basically I am writing a simple shopping cart. Each item can have multiple prices. (i.e. shirts where each size is priced differently). I would like to have a single price field in my admin panel, where when the first price is entered, an additional price field pops up. However I am kind of at a loss as to how to do this. What would be t...
I'd like to load some test data into my development db but not put it into my production db.
In django you can create database-specific fixtures using this mechanism: http://docs.djangoproject.com/en/dev/ref/django-admin/#database-specific-fixtures
It is possible to do something similar with django-nonrel?
...
I'm having a devil of a time getting Phusion Passenger to work with django-nonrel for Google's App Engine. I can seem to get it to work for GoogleAppEngineLauncher and for the production server but not Passenger; or for Passenger and GoogleAppEngineLauncher but not the production server; or for Passenger and the production server but no...
I'm using the Django nonrel project on a google app engine project running locally in development. I've created my own models and these are fine when they are saved and retrieved in the datastore.
I'm hoping to use django.contrib.auth to provide the user functionality. I can use the shell to create users and these get assigned an ID. Wh...
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 http://stackoverflow.com/questions/1062540/how-to-delete-all-datastore-in-google-app-engine but the answer wasn't working for me.
Is this because I...
QUESTION
Please be kind I'm new to pytnon and appengine platform.
Application uses django-norel, and I dont have access to model (and really I'm not that python proficient to backtrace how models are saved).
I have my bulkloader.yaml file autogenerated by appcfg.py create_bulkloader_config.
Problem is entities numeric ID's are be...
Hi
I'm a newbie to Google App Engine but have played around with Django in the past so I am trying to use Django-nonrel with GAE.
There's not much information online, but have followed these tutorials successfully:
http://blog.sidmitra.com/getting-up-and-running-with-django-nonrel
http://www.allbuttonspressed.com/projects/djangoappeng...
I am a newbie with a problem working with Django-nonrel on Google App Engine.
I created a new app called "helloapp".
1) I have created a view in views.py called hello world:
from django.http import HttpResponse
def hello(request):
return HttpResponse("Hello world")
2) I have then linked to it in the urls.py using:
from...
I and trying to use djangoappengine, but I am unsure how can I write model to incorporate standard
ListProperty(db.Key)
I know that djangotoolbox provides this field types but I am unable to figure out the exact syntax.
...
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 protected]
I get
Unknown command: 'createsuperuser'
Type 'manage.py help' for usage
When I type manage.py help, I ...
I have a Django app for which I have created a superuser account for so I can log into django-admin.
This works in local (I can log in).
How do I create a superuser on my appspot.com account on Google App Engine?
...
I am creating an Django app for Google App Engine. I am using django-nonrel but am using Google App Engine models.
I am wanting to also use Django's admin site.
My models.py for airlines app is:
from google.appengine.ext import db
class Airline(db.Model):
name = db.StringProperty(required=True)
description = db.TextProperty()
no...
I have a query which looks like this:
Possesion.objects.exclude(~Q(type="money") & ~Q(type="people"))
I want the possessions which are of any type other than "money" and "people".
Is there any easier way to do this without something like
queried_possesions = POSSESION_TYPES
queried_possesions.remove("money")
queried_possesions.remo...
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 devices like Android and iPhone.
My pages use django non-rel and my login/logout authenticatio...
I am working on a Google App Engine application and I am relatively new at this.
I have built an app already in Django and have a model using a field type of ManyToMany.
I am aware that django-nonrel does not support many-to-many field types of Django. So I am considering using ListField instead.
Questions:
- What is the implication ...
I am trying to build an example app in Google App Engine using django-nonrel. and am having problems implementing ListField attribute into a model.
I have created an app test_model and have included it as an installed app in my settings. The model.py is:
from django.db import models
from djangotoolbox import *
from dbindexer import *...
I tried to install the django-messages 3rd party application to my Django-nonrel / App Engine project. However it threw the error:
'ModelOptions' object has no attribute 'db_table'
Request Method: GET
Request URL: http://localhost:8090/
Django Version: 1.3 pre-alpha
Exception Type: AttributeError
Exception Value:
'ModelOptions'...
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: http://docs.djangoproject.com/en/dev/topics/cache/#memcached
I am clear that I need to add in my settings.py the following:
CACHE_BAC...
I am working on a django-nonrel app in Google App Engine.
I am trying to return items from a database in a random order. So I might have 100 items in my Items model. I wish to return a random selection of 20 items.
I have tried using:
Items.objects.order_by('?')[:20]
Except I get the following error:
Randomized ordering isn't s...