After writing a few python appengine apps I find myself torn between two approaches to organizing my source code tree: wide or deep.
For concreteness, consider an internal application for a small consulting shop to manage business operations like contact management, project tracking & reporting, and employee management. The applicati...
Hey all,
Here i want google adsense on my website
i developed website on python and google appengine
my website is 1 month old can i get google adsense for this one?
if yes than how??? and no than whats the basic requirement??
...
Hi,
I've developed a site with Python, hosted on Google Apps, and I want to send emails from that site.
Is that possible, and if so, where should I look to find out how?
...
can Google App Engine be used to store and serve large files like audible books?
...
Hello,
I wonder what you can use as a key_name?
I do a lot of queries on non-ascii unicode characters, I wonder if I can use these as key names to speed up the queries.
Thanks!
...
Hello,
I wonder if 2 objects can have the same key name?
They wouldn't be the same class.
Thanks!
...
Hi,
I recently had to realize a project on Google AppEngine. At the beginning I was sceptic. But there a some really nice approaches on Appengine:
No server setup. Everything works out of the box. Gzip, libaries, etc.
One-Click-Deployment. Fire up GAE Launcher on the Mac and klick DEPLOY. Done.
Low costs
Easy in-production-logging
B...
To store a complex object to Datastore i'm currently using this approach:
class PickleProperty(db.Property):
data_type = db.Blob
def get_value_for_datastore(self, model_instance):
value = self.__get__(model_instance, model_instance.__class__)
if value is not None:
return db.Blob(pickle.dumps(value))
def make_value_f...
Hi,
by default, GAE adds a unique key to your db entries.
Is it possible to have a numeric unique key in addition?
Elias
...
Hi all,
I am working on an application using Google application engine and Django. I am using app engine patch. Some of the models have ReferenceProperty fields.
The issue is that when I am deleting some entries of the Referenced model, it should delete the entries where this ReferenceProperty is being used following the foreign key k...
I am using Pyton 2.7 as this seems to be only Python MSI downloadable at the moment from Python.org.
self.redirect(users.create_login_url(self.request.uri)) fails when running on dev_appserver
localhost:8081/_ah/login?continue=http%3A//localhost%3A8081/ returns a 500.
Although this does work: localhost:8081/_ah/admin/datastore
Stack...
Hi,
I am doing a text search in a rather big txt file (100k lines, 7mo)
Text is not that big but I need a lot of searches.
I want to look for a target string and return the line where it appears.
My text file is formatted so that the target can only appear in one line.
What is the most efficient way? I do a lot of searches so I want to...
anyone using nagare framework on google app engine ?
it seems interesting, but i could not find any documentaiton on how to use it on
google app engine, as it uses stackless python.
so any chances of its running on google app engine ?
also, how stack less python differ from normal python ?
thanks.
links :
Nagare Framework
Stackl...
Currently use of Solr or Lucene is not fully supported on Google App Engine, there are hacks around the issue but none seems perfect.
If I setup the Solr server via a cloud offering somewhere else, run the main site and application on GAE but use the Solr server for search functionalities, can anyone see any problems doing doing it this...
Currently i'm using something like this:
images = Image.all()
count = images.count()
random_numb = random.randrange(1, count)
image = Image.get_by_id(random_numb)
But it turns out that the ids in the datastore on AppEngine don't start from 1.
I have two images in datastore and their ids are 6001 and 7001.
Is there a b...
I learned about how to browse my local App Engine Datastore from this handy question. But now I'm using App Engine on a new machine, and the URL http://localhost:8888/_ah/admin is not working? It returns a 404 NOT_FOUND. My App Engine instance is definitely running on port 8888. I also just updated to the latest version. Any idea on why ...
I have a Foo type in my Google App Engine datastore. I'd like it to link to a series of other Foo types, call them prerequisites.
I can use the ListProperty type to make a list of simple value types but I'm not sure how to do this with references. What is the recommended approach for doing this?
...
Hello,
I'm using unicode strings for non latin characters as key names for my models.
I can create objects without problems, and the appengine admin shows key name correctly (I'm using chinese characters, and the right characters)
However, MyModel.get_by_key_name() returns None if the key_name is made of several characters.
For 1 char...
A sample model:
class Foo(db.Model):
id = db.IntegerProperty()
bar = db.ListProperty(int, required=True)
How can I query using either Query or GqlQuery to return all Foo entities that have a given value in their bar property?
If I have a list of ids, is there a single filter that will return all entities whose id property...
I'm one man shop, creating a social site. If my site becomes popular, will the tech gods (i.e. techcrunch, mashable, etc.) look down on me for using Google App Engine instead of creating and developing my own cutting edge infrastructure from scratch?
...