I’m testing my app with the development server.
When I manually interrupt a request, it sometimes clears the datastore.
This clears even models that are not modified by my request, like users, etc.
Any idea why is this?
Thanks
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.
I would recommend using the SQLite stub, instead of the default file-based stub, in your SDK; read all about it in this blog entry by Nick Johnson, who made it. Just pass flag
--use_sqlite=truetodev_appserver.pyto gain all of SQLite goodness (including, at least in design intent, no datastore wiping on crashes).