Local Datastore works -- Appspot.com Datastore is not saving data

17 views
Skip to first unread message

Shannon Whitley

unread,
Apr 13, 2008, 3:43:09 AM4/13/08
to Google App Engine
My application works perfectly on my local server. I uploaded the
application to Google.com, but the application is not working. The
data is not being saved in the Datastore. It is the same code. The
sample code below should save the data, but my Datastore is not
updated on appspot.com. Any ideas?

Example Code:

a = "1"
b= "2"

d = c(foo=a, bar=b)
db.put(d)

class c(db.Model):
foo = db.TextProperty()
bar = db.TextProperty()

Brett

unread,
Apr 15, 2008, 2:50:06 AM4/15/08
to Google App Engine
Do you see application errors in the log on appengine.google.com?

You may need to declare your 'class c' above the rest of your code.

On Apr 13, 12:43 am, Shannon Whitley <shannon.whit...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages