Dave's given the solution I'd use.
In general, you create properties that map well to the type of queries
you're going to use, especially since you can only use inequalities on
one property. You do upfront processing if necessary at write time
(e.g., the put() override in Dave's solution) so
I believe memcache won't be flushed automatically after an app is
redeployed. One way you can force a flush on redeploy is by storing
the current version ID, os.getenv('CURRENT_VERSION_ID'), into
memcache. Then in your main.py, check if the current version is the
same as the one in memcache.
Here is another way to check if an instance is saved without
checking _from_entity.
from google.appengine.ext import db
import types
class A(db.Model): # works with Expando too
name = db.StringProperty(required=True)
def __init__(self, _is_new=True, key_name=None, _app=None,
Hi,
I have uploaded my application a couple of weeks ago on GAE server.
When will it be possible to use Google search engine to google my
website? Do I need to do anything more to get this service or is it
automatic?
Thank you very much.
--~--~-~--~~~---~--~~
You
According to
http://code.google.com/appengine/docs/python/datastore/gqlreference.html
you can sort by two (or more) properties. It will just require a new
index to be built (which the SDK will create the definition for you)
or have a I missed something?
On 29/03/2009, manuelaraoz
Just like with any website, make sure you have inbound links so the
search engines can fine you. Also make sure your site is setup to be
indexed - ie it has search engine friendly urls (avoid the use of
javascript for instance)
Creating and submitting a sitemap shouldnt hurt either
Thank you, this is what I've been using; I'm just looking for
something better.
On Mar 26, 6:12 am, Marzia Niccolai ma...@google.com wrote:
Hi,
Everything that is query-able must be indexed
(http://code.google.com/appengine/articles/index_building.html). So if you
want to store, but not
thanks Gopal,
that was just an example...
my question was more practical... how can I do that in code?
you say: you need to do one sort in datastore , while other in memory
how can that be done?
thanks!
Manuel
--~--~-~--~~~---~--~~
You received this message
Thanks to all!
I'll try your suggestions and tell you how it came
Manuel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
Hey everyone,
I must be doing something stupid, does anyone know why the code below
does not add a record to the datastore? The code runs with no errors
and line logging.debug(submissions.count()) returns 0 and the code
completes as the log contains the entry for logging.debug(finished).
Any
I think you might need to put brackets at the end of the put.
submission.put()
not
submission.put
On Mar 29, 1:17 pm, Jim Culver jculverw...@gmail.com wrote:
Hey everyone,
I must be doing something stupid, does anyone know why the code below
does not add a record to the datastore? The
Public domain (P) 2009 Davide Rognoni - xml2jsonp - Google AJAX
Language API
http://riagallery.appspot.com/rss-language-translation
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post
I would like to use named groups in the regular expressions passed on
to the webapp.WSGIApplication constructor.
The main reason is that I need to pass HTTP parameters embedded in the
URL in a different order than the positional parameters in the
corresponding get() method of the RequestHandler
Thank you so much, that did the trick.
On Mar 29, 1:24 pm, WallyDD shaneb...@gmail.com wrote:
I think you might need to put brackets at the end of the put.
submission.put()
not
submission.put
On Mar 29, 1:17 pm, Jim Culver jculverw...@gmail.com wrote:
Hey everyone,
I must be doing
Nice app :)
On Sun, Mar 29, 2009 at 12:30 PM, RSS Language Translation
davide.rogn...@gmail.com wrote:
Public domain (P) 2009 Davide Rognoni - xml2jsonp - Google AJAX
Language API
http://riagallery.appspot.com/rss-language-translation
--
-Jyoti
www.videonym.com
Hi,
Sorry, question only for gooel app engine support, will not provide
url for all yet.
I'm using django with google app engine, all works fine (with app.en.
restrictions) and
got a problem with app engine:
step-by-step it looks like:
1) normal working (including exceptions processing,
I'm having a bit of problem with my app -- somehow my application has
lost its ability to set a default version. I've got two versions up,
1 and 2, and neither is set as the default, so my main app site
(*.appspot.com) doesn't work but both of my version sites
(1.*.appspot.com and
First of all, this is my first post to this list and I am also
relatively new to GAE (playing with it and Django for a couple of
weeks). I have also searched the GAE docs as well as this list's
discussions and haven't found any help with my question. So here is
my question:
1) I have a simple
http://tech.slashdot.org/article.pl?sid=09/03/26/1753259from=rss
can i visit my aplication over ipv6
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send
Hi,
I am a newbie so apologies if this is silly, I need to do a query on
my datastore for partial strings but not something that begins with
but may be part of the string.
Like I have Last Name and First Name as one column
Smith, Jhon
Python-Micheal
Smith, Jhon
Doe, Jhon
I need to query where I
Hello,
I'm playing around with AppEngine and seem to get around many of its
restrictions after some time. But now I'm stuck on this issue for
several hours:
I have a tree of groups. Every group has several sub-groups etc. The
whole thing is stitched together with a SelfReferenceProperty called
Hello,
I have this code:
import os
import cgi
import sys
import wsgiref.handlers
from google.appengine.ext import webapp
print Beginning
for x in sys.path:
print x
try:
from gpy import *
except:
print Couldn't import
exit()
...which when run from localhost:8080 outputs this:
Hi,
I'm trying to build an app which will let user upload a file and send
it to a mail id.
Now, my form'd file input element's name is file.
input name=file type=file/input
So I am using the following line to attach the file in the message.
it is automatic.
On Sun, Mar 29, 2009 at 3:29 PM, Nora noorhanab...@yahoo.co.uk wrote:
Hi,
I have uploaded my application a couple of weeks ago on GAE server.
When will it be possible to use Google search engine to google my
website? Do I need to do anything more to get this service or is
24 matches
Mail list logo