We recently moved our company website to Google app engine. We have encountered case sensitivity problems with some of the links in our website. Some links are uppercase when the corresponding folders on the server are lowercase. This was not an issue on our old windows server. Google app engine appears to be case sensitive with URLs...
Does anyone have any recommendations for me on how to manage user roles on the Java version of Google App Engine?
...
How can I iterate over a list of all classes loaded in memory?
I'm thinking of doing it for a backup, looking for all classes inheriting from db.Model (Google App Engine).
Thanks,
Neal Walters
...
I have this datastore model
class Project(db.Model)
projectname = db.StringProperty()
projecturl = db.StringProperty()
class Task(db.Model)
project = db.ReferenceProperty(Project)
taskname= db.StringProperty()
taskdesc = db.StringProperty()
How do I edit the value of taskname ? say I have task1 and i want to change it to task1-project...
Hi,
I was hoping to get some suggestions on some best approaches to develop a multi tenant Django project on Google AppEngine.
Some Thoughts to Consider.
I would assume using djnago.contrib.sites is a must.
I would like to use existing applications such as django-profiles and django-registration, I know their models would need porti...
I am trying to send a file to torrage.com from an app in GAE.
the file is stored in memory after being received from a user upload.
I would like to be able to post this file using the API available here:
http://torrage.com/automation.php but i am having some problems undestanding how the body of the post should be encoded, the most i go...
class Employee(db.Model):
firstname = db.StringProperty()
lastname = db.StringProperty()
address1 = db.StringProperty()
timezone = db.FloatProperty() #might be -3.5 (can contain fractions)
class TestClassAttributes(webapp.RequestHandler):
"""
Enumerate attributes...
Hi
I am running django on python sdk of gae.
My application is an order processing app for a small business. I want to email a delivery note in the form of a spreadsheet to customers on completion of an order. Now I have been reading the docs and its no problem sending attachments, just that only certain file types are allowed in gae...
Is it possible to have both frameworks available?
So that I could have
from google.appengine.ext import webapp
from django.template.loader import render_to_string
class MainPage(webapp.RequestHandler):
def get(self):
self.response.out.write(render_to_string('some.template'))
and
from django.http import HttpResponse
def...
Hi all,
I would like to ask what is the common way for handling role-based security with Google App Engine, Python?
In the app.yaml, there is the "login" section, but available values are only "admin" and "required".
How do you normally handle role-based security?
Create the model with two tables: Roles and UserRoles
Import values f...
This page describes an 'IN' operator that can be used in GAE Datastore to compare a field against a list of possible matches, not just a single value:
However this is for Python. In Java (App Engine 1.2.5), trying
query.setFilter("someField IN param");
on my javax.jdo.query fires a JDOUserException 'Portion of expression could not b...
This is really a python language question, but its wrapped around a Google appengine specific problem.
We have
class User( db.Model ) :
email = db.StringProperty()
name = db.StringProperty()
password = db.StringProperty()
# more fields..
Because the user account is accessed so often, we keep a copy in session using gaeutili...
I'm using Python 2.5 locally and GAE 1.5.
I'm trying to load data which is not is CSV format. Here's a
simplified model which reflects what I get with a more complex real
life issue:
class Thing(db.Model):
name = db.StringProperty()
class ThingLoader(bulkloader.Loader):
elements = [
('name', str)
]
def...
My sessions in Google Appengine works in the development environment but not when I deploy it.
I have sessions-enabled set to true in my appengine-web.xml.
Am I missing something here? I had to override the initBinder in my Controller for it to work in appengine because Spring tries to "access the system class loader"
Maybe I should a...
I haven't been able to do so due to all sort of missing dependencies (mainly, I think the problem is in the authentication code which relies on django stuff that is not available on AppEngine)
I was wondering if anyone patched\forked piston to get it working on AppEngine?
...
I have a GoogleAppEngine application that is required to connect to another localhost server, but when I'm trying to do this from the server code, I get:
java.security.AccessControlException: access denied (java.net.SocketPermission localhost resolve)
I know that I can specify my additional security grant by using java virtual machine ...
I see google provide SDK and utilties to develop and run the web application in development (developer-pc) and port them to google app engine live (at google server).
Can we use google app engine to run the local web application without using google infrastructure?
Basically I want a decent job scheduler and persistent job queue for p...
I'm testing my application (on Google App Engine live servers) and the way I've written it I have about 40 db.GqlQuery() statements in my code (mostly part of classes).
I keep getting db.Timeout very often though.
How do I deal with this? I was going to surround all my queries with really brutal code like this:
querySucceeded = Fa...
I am not able to figure out how to upload bulk data to the Google's servers bypassing the 10mb upload limit and 30 sec session timeout. I want to design an application that takes my standard SQL data and pushes it to the Google's servers.
I might sound naive but your help is most valuable for my project.
...
This seemingly perfect Google App Engine code fails with a KindError.
# in a django project 'stars'
from google.appengine.ext import db
class User(db.Model):
pass
class Picture(db.Model):
user = db.ReferenceProperty(User)
user = User()
user.put()
picture = Picture()
picture.user = user
# ===> KindError: Property user must be...