At Google IO I believe it was mentioned that TextProperty's are fine
for anything that you don't want indexed; They are no less efficient
than strings for short data. You might want to look into trying that
out with mime and type if you don't filter/order by them.
Other than that, I'd suggest
Marzia -
That is great news.
Will this also help with genuine traffic spikes? A simple application
I use to test, which does a single datastore fetch for 5 items that
are a few bytes each, and stores it in memcache for 10 seconds, can go
over quota by a simple ab -c 30 -n 1. I've tried with
That looks solid. I'll give it a go
Thanks for helping a newbie!
Pete
On Sep 25, 6:04 am, iceanfire [EMAIL PROTECTED] wrote:
I'm no Django expert, but here's what I do.
Use 'exclude' to exclude stuff:
class Message Form(djangoforms.ModelForm):
class Meta:
model = Message
Entities always have a key, available as entity.key(). In addition to
that, you can set a friendly key at construction only (can't be
changed or set later), using key_name. If you do not however set a
key_name, app engine will assign a numeric id, available as
entity.key().id().
In other words,
No problem.
Take a look at this as well:
http://code.google.com/appengine/articles/djangoforms.html
On Sep 25, 2:08 am, Peter [EMAIL PROTECTED] wrote:
That looks solid. I'll give it a go
Thanks for helping a newbie!
Pete
On Sep 25, 6:04 am, iceanfire [EMAIL PROTECTED] wrote:
I'm no
Hi
On djangocon conference Guido says that you can zip django (trunk or
1.0), so uploading to GAE will be faster..
so what should I do.. just put django.zip inside or what ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Take a look here: http://docs.python.org/lib/node853.html
2008/9/25 Vitaliy [EMAIL PROTECTED]
Hi
On djangocon conference Guido says that you can zip django (trunk or
1.0), so uploading to GAE will be faster..
so what should I do.. just put django.zip inside or what ?
Great news!
Thanks, man
Alexander Pugachev wrote:
Take a look here: http://docs.python.org/lib/node853.html
2008/9/25 Vitaliy [EMAIL PROTECTED]
Hi
On djangocon conference Guido says that you can zip django (trunk or
1.0), so uploading to GAE will be faster..
so what should I do..
-So are textProperties more efficient than StringProperties
because
they're not indexed?
You'd have to find the talk from Google IO to be sure. I believe
it
was the one about scalability, in the QA section. But yes, that is
my
understanding.
As I understand it, every field
This is the latest update on this topic I believe, so the answer to your
question
is its still not there.
http://groups.google.com/group/google-appengine/msg/c3bb71cd63d8d32f
If other people have further information please let us know...
Thanks,
Michael I Angerman
Albuquerque, New Mexico
Hi readers,
I am having a probleme with my templates and the place they stay in.
Locally (dev_appserver) it works without any problems, but after I
uploaded my project to appengine (appcfg update) and visiting
http://goroutes.appspot.com the exception TemplateDoesNotExist:
Home.de.html is
Yeah, it would be nice to know Google's app-engine plans.
I'm a RoR and PHP developer learning Python because app-engine is
cool... But if app-engine is just going to support Rails in the
future, then I feel like I'm wasting my time now.
App engine team -- do let us know what you're planning!
So I have stored some data in the app-engine database, with new data
every 5 seconds.
example dataset:
ID - Time - Value
1 - 9/20/2008 16:00:00 - 100
2 - 9/20/2008 16:00:05 - 120
3 - 9/20/2008 16:00:10 - 130
4 - 9/20/2008 16:00:15 - 250
...
17278 - 9/21/2008 15:59:60 - 200
17279 - 9/21/2008
How to pass additionap parameters to Form
For example:
class PhoneNumber(db.Model):
number = db.StringProperty()
phone_type = db.StringProperty(
choices=('work', 'cell'))
class PhoneNumberForm(djangoforms.ModelForm):
v
class Meta:
model = PhoneNumber
def
Hi appengineers!!!
My Name is Carlos Delfino, and new on App Engine.
I work on app for contact centers, and want put at google (server
and gadgets).
But for my application work, I need communicate with a WebServices(XML-RPC
and SOAP) make with php and java.
which Framework Is better for use
I'm also seeing
DownloadError: ApplicationError: 3
intermittently when using urlfetch to call the Facebook API.
On Aug 27, 7:44 pm, llad [EMAIL PROTECTED] wrote:
I am also having this issue with urlfetch. It works 100% of the time
in dev but can't get it to work at all in prod. I'm
In another post someone was exceeding the 5 second timeout with urlfetch
trying to get an RSS feed for a Google Docs account. I am planning on using
the Google Charts API and I wonder if I won't hit the same issue. However,
this got me thinking that writing a service like the Charting API on GAE
I'm also interested in knowing how to do this; any ideas??
On Sep 8, 2:05 am, Peter Recore [EMAIL PROTECTED] wrote:
I have read the bulk loader article, skimmed the bulkloader python
source, searched this group, and experimented but I still can't figure
out how to specify a key_name parameter
Exactly my thought... One cannot assume that the keys are in ascending order
or Can we ?
On Thu, Sep 25, 2008 at 7:42 AM, Tony Arkles [EMAIL PROTECTED] wrote:
Thomas, I think that solution will only work if the items are being
returned such that their keys will be in ascending order (which in
Hi,
I am running a simple query
keyword = self.request.get('keyword')
if len(keyword) =0:
keyword='Google Engineer'
query = search.SearchableQuery('Visa')
query.Search(keyword)
for result in query.Get(100, int(page)):
visas.append(result)
I keep running into the
I realize this is an issue for Yahoo Shopping, not Google, but posting
is disabled over at the Yahoo Shopping discussion board, and I have to
post it somewhere :).
When I call the Yahoo Shopping API using urlfetch from my app engine
app, I always receive a User-agent not valid return code. I am
Anyone has any idea how this warning message is calculated? Many of
the requests to your application are taking a very long time. Please
optimize these requests.
It seems I meet quota denials every time this one shows up. I'm unable
to tune anymore if I don't know how it is calculated.
There
Nothing in your python scripts, including the template engine, can
access anything in a static directory or declared as a static file in
app.yaml. The static files are not copied to the same server as your
python scripts so it doesn't matter how you try to reference them;
they're *only*
Hi,
The DownloadError: ApplicationError: 3 (not the most descriptive message, I
acknowledge), indicates that the remote server took too long to respond to
the request. Currently HTTP requests are allotted about 5 seconds to return
the request before receiving an error.
In this case you can
Wooble wrote:
The static files are not copied to the same server as your
python scripts so it doesn't matter how you try to reference them;
they're *only* available at their static URLs over the web.
So it is impossible having templates in a static_[dir|files], because the
template engine
Hi,
I signed my domain name through Google (via Godaddy indeed) . I
just add www.mydomain.com into Google App ID. And add the host name
into A record in DNS settings like this
mydomain.com216.239.32.21
mydomain.com216.239.34.21
mydomain.com216.239.36.21
mydomain.com
Hi Adam,
Currently, App Engine does not allow applications to add or modify the user
agent header, so I'm not sure there is something that can be from your
application that will allow Yahoo! to accept the requests.
Your best bet is to contact Yahoo! when the re-enable posting to see if they
can
The App Engine users API is separate from the authorization system
required by Google Data APIs (like picasaweb). A user will need to
authorize your app to access their picasaweb data, so I recommend
using AuthSub. It is still a good idea to have users log in to your
app, because you can then
First post related to my first ever app, so watch out.
I've had a lot of fun making this:
http://chroma-some.appspot.com/
And I've gotten a fair volume of usage which has encouraged me to keep
polishing it. One issue I was having was attempting to store too many
data structures (big dictionary
Found a solution here:
http://groups.google.com/group/google-appengine/browse_thread/thread/a0b8480f797bcd4e?pli=1
uses a HandleEntity override.
On Sep 25, 5:22 pm, James Little [EMAIL PROTECTED] wrote:
I'm also interested in knowing how to do this; any ideas??
On Sep 8, 2:05 am, Peter
You definitely can not.
From http://code.google.com/appengine/docs/datastore/keysandentitygroups.html:
An application should not rely on numeric IDs being assigned in
increasing order with the order of entity creation. This is generally
the case, but not guaranteed.
On Sep 25, 10:41 am,
Marzia,
Thanks for your reply.
I cut and pasted your handlers into my app.yaml file, but the error
persists, and it may be a fundamental problem.
If the main directory contains a subdirectory dir with two files
index.html
styles.css
with index.html including styles.css, then with the
On Sep 25, 4:46 pm, SIE [EMAIL PROTECTED] wrote:
However, if we substitute for the last handler
- url: /dir
static_files: dir/index.html
upload: dir/index.html
then a call to
http://localhost:8080/dir
yields the error
INFO 2008-09-25 20:39:07,117 dev_appserver.py] GET /dir
Wooble,
Your solution of using an absolute URL instead of a relative one
worked.
Many thanks!
On Sep 25, 3:51 pm, Wooble [EMAIL PROTECTED] wrote:
This isn't a problem with App Engine, that's (expected) behavior by
the web browser caused by a relative URL.
The solution is to refer to
For example, some testcases for '%google_appengine_home%\demos
\guestbook'.
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
You need to set up an alias for www pointing to ghs.google.com. See
http://www.google.com/support/a/bin/answer.py?hl=enanswer=47283 for
detailed instructions - the page also has walk-throughs for many
providers.
On Sep 25, 10:58 am, aonlazio [EMAIL PROTECTED] wrote:
Hi,
I signed my domain
36 matches
Mail list logo