I have a data module that includes Vendor objects and VendorCategory objects. Each vendor has multiple categories, and each category can have multiple vendors.
I need to list all vendors under a given category, and all categories under a given vendor.
The primary operations are on vendors, so I'm writing code to update/delete VendorCate...
Sometimes its the simplest things that trip me up.
I have an application running on App Engine that utilizes subdomains. I'd like to redirect to different HTML pages depending on weather a subdomain is being used or not.
For example, if a user tries to sign up for a new account through a subdomain, this doesn't make a whole lot of sen...
I am about to start ramping up on Django and develop a web app that I want to deploy on Google App Engine. I learn that Google has Django 0.96 already installed on the APP engine, but the latest "official" version of Django I see is at 1.2.3 and its a bit of an effort to install it there.
I am curious which version of Django is most wid...
What are the applications for Google App Engine Expando Class?
And what are the good practices related to it?
...
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 suspect I need to add an Ant task somewhere, but where?
...
I am using Google App Engine mapreduce to analyze some data. I am generating a few counters that I would like to create a simple Google chart from in my done_callback. How do I access the resulting counters from the callback?
#The map method
def count_created_since(entity):
now = datetime.datetime.now()
delta = now-entity.created
...
I need a quick answer for an inquiry I just received. Someone has specified that he needs to use Google Apps for the following features:
E-commerce Store
Store Locator by zip code
Is it possible to create an e-commerce website using google apps? And if so, where do I begin with? If anyone has an experience please do share.
...
Is it correct to say that there is no simple tag that just writes some http get
query parameter?
If all needed is printing a http get query parameter e.g. ?q=w
can I directly use the value q with a template tag or need the copy
the value in the request handler?
Is it possible to more directly pass values (all values) from http get
to tem...
When running mapreduce on Google App Engine, I occasionally come across a key reference that is invalid. I'd like to make an efficient method that I could run across any model using mapreduce to verify that all the key references for each entity are still valid. What would be the most efficient way to do this? Here is my map function ide...
Is it possible to create any kind of file on GAE/J and upload to google docs? I've asked a similar question before about creating and uploading PDF.
Thanks.
Update
According to Google Docs API "To upload a document to the server, you can attach the file to the new DocumentListEntry using the setFile() method.". And setFile method nee...
I was reading about Firesheep and wondering how I can protect my Spring MVC 3.0 site against attacks like this:
It's extremely common for websites to
protect your password by encrypting
the initial login, but surprisingly
uncommon for websites to encrypt
everything else. This leaves the
cookie (and the user) vulnerable. HTT...
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...
Hi
I use db.GeoPtProperty like
{{a.geopt.lat}}
and heuristically found 2 decimals get "good enough" for my requirements. So I try to round off to 2 decimals either with template filter like a django filter or by python code. Can you recommend a how to proceed? Thanks
...
I'm currently in the process of rewriting my java code to run it on Google App Engine. Since I cannot use Timer for programming timeouts (no thread creation allowed), I need to rely on system clock to mark the time of the timeout start so that I could compare it later in order to find out if the timeout has occurred.
Now, several people...
I'd like to create a web application that allows users to read the writings of the world religions and mark connections between and apparent contradictions within the texts.
Google App Engine seems to me to be a good tool to develop this application. Can you provide any information about what resources would be helpful in looking at wh...
I'm writing a Google App engine app that processes incoming mail, and here's the code I'm currently using to process mail messages:
for content_type, body in email_bodies:
#8bit bug in mail messages - see bug report here
#http://code.google.com/p/googleappengine/issues/detail?id=2383
if body.encoding == '8bit':
body.encoding = '7bit...
Hi everyone,
I'm using GAE and task queue. In queue.yaml file, I keep default setting: 5/s. 1 month ago I thought it's enough but now there are about 40-50 tasks in one queue so my application runs too slow.
I want to know how many tasks per second is enough ? Can I change to 100/s ?
Thank you :)
Update:
My application gets data ...
Hi, our project runs on GWT and Java App Engine and we use the standard GWT RPC mechanism.
App engine adds log trace for each RPC call, but it just logs the servlet URL and not the called method.
We would like to add the method name to the log URL.
We have tried extending RpcRequestBuilder class, overriding doCreate and adding the metho...
I have run through the google example of using Authsub to retrieve Google feed data (http://code.google.com/appengine/articles/python/retrieving_gdata_feeds.html)
If I understand correctly, it is possible for a malicious hacker to call the 'next_url' (which google auth service calls with your token) and inject their own token?
Meaning ...