I’m lazy! And I just want to store one single string value. That’s all!
Can I jump over any kind of Modeling and just store a value?
I’m lazy! And I just want to store one single string value. That’s all!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depending on how long you want to store the information, you can also use memcache:
Import:
All you need to know to get and set data:
If your data needs long-term persistance, then you need to use the backend datastore. It is recommended to use both memcache and the datastore for your data, since the memcache can be flushed at any time. For short-term, ephemeral persistance, memcache does the trick.
More info here:
http://code.google.com/appengine/docs/python/memcache/usingmemcache.html