[google-appengine] Re: Auth with google apps account s — depends on billing status?

2010-03-15 Thread Denis Moskalets
ts API is used for authentication. Learn more Only difference between two apps: one have billing enabled, another — doesn't have. On Mar 15, 4:57 pm, Wooble wrote: > On Mar 15, 3:06 am, Denis Moskalets wrote: > > > > > > > I have two appspot applications. >

[google-appengine] Auth with google apps accounts — depends on billing status?

2010-03-15 Thread Denis Moskalets
I have two appspot applications. One — fot tests, second — production. Not important, why it is so. Two apps have same source code. Auth throw Google Apps Accounts enabled on both. Billing enabled only for one app. Apps are closed for public, so only registred and authorized users can access it.

[google-appengine] Re: DB doesn't return all corresponding records for query!

2010-01-06 Thread Denis Moskalets
tactdate DESC returns 3 records and SELECT * FROM ctms_Report WHERE ANCESTOR IS KEY ('agxjdG1zLXJlbGVhc2VyGQsSDGN0bXNfUHJvamVjdCIHaWQyNDYzMAw') AND contactdate <= DATE('2009-11-14') AND contactdate >= DATE ('2009-11-14') ORDER BY contactdate returns 1 record. I

[google-appengine] Re: DB doesn't return all corresponding records for query!

2009-12-27 Thread Denis Moskalets
Cool I've added this index: - kind: ctms_Report properties: - name: project - name: contactdate and the 2nd query become broken too! On Dec 27, 9:44 pm, Denis Moskalets wrote: > Sorry, wrong subject. > DB doesn't return all corresponding records for query! -- You recei

[google-appengine] DB doesn't return all corresponding records for query!

2009-12-27 Thread Denis Moskalets
Sorry, wrong subject. DB doesn't return all corresponding records for query! -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email

[google-appengine] DB returns all correspondig errors (another problem with indexes?)

2009-12-27 Thread Denis Moskalets
Dear google, will you answer on posts about the problems in this group, or should we use issue tracker for messages like this? App-id: ctms-release I have model with field and ancestor, referencing the same keys. So, i can retrive records using either .ancestor("key_here") or .filter ("project_key

[google-appengine] Re: A lot of DeadlineExceededError: Doesn't work file reading / module importing

2009-12-27 Thread Denis Moskalets
Hey Google, are you alive? No answer. Looks like the problem gone. But can we be sure that it will not be repeated again? May be, we need to use issue tracker for messages like this? On Dec 26, 7:01 pm, Denis Moskalets wrote: > App-id: ctms-release > > Last 3 days we have a lot of

[google-appengine] A lot of DeadlineExceededError: Doesn't work file reading / module importing

2009-12-26 Thread Denis Moskalets
App-id: ctms-release Last 3 days we have a lot of problems with our applciation. It's look like application cannot import modules, read files from disk, read templates. We use app-engine-patch. Problems apper on app, that normally works a week ago. 12-25 05:09AM 25.287 /finances/ 500 *29660ms* 3

[google-appengine] Troubles with access to the datastore

2009-10-09 Thread Denis Moskalets
App id: classificators-ru Data viewer in console: Oops! We couldn't retrieve your list of Kinds. Please try again later. Query KladrStreetRecord.all(keys_only=True).fetch(10) fails too All my other apps works ok. What is this? --~--~-~--~~~---~--~~ You received t

[google-appengine] Storage Data overhead magic

2009-09-17 Thread Denis Moskalets
Hello! My app-id: classificators-ru. I have three models with 4-5 StringProperty fields. And two indexes (for two models) with 2 properties for each. I've loaded data to production using bulk_loader from CSV files. Weight of CSV files — 61 Mb Total count of records ~ 830K Simply question: WHY m

[google-appengine] Random error in access to db: Error!

2009-03-21 Thread Denis Moskalets
Hi. I have two identical applications. First -- for test purposes. Second -- real work app. So, few days ago i've tested pushing a lot of data from my computer to application. With the first app there were no problems. But with the second app i've got ~5 timeout errors! All in all, in the second

[google-appengine] Problem with bulkloader.py and Google Apps account.

2009-03-06 Thread Denis Moskalets
Hi. I have appengine application, that supports authorization only for users of domain xxx (google apps for domains). I tried to use bulkloader. So, if i install remote_key hook in app.yaml like in manual (http:// code.google.com/appengine/docs/python/tools/uploadingdata.html), i've 500 error in

[google-appengine] Re: High CPU usage on simple DB query

2009-01-09 Thread Denis Moskalets
Hmm, i've rembered, that i've one real simple application. There no django :) app-id: denya simple page handler MyTicketPageHandler(webapp.RequestHandler): get data, show data (using template from ext.webapp) only db request: mytickets = TicketModel.all().filter("author =",curuser).order('- las

[google-appengine] High CPU usage on simple DB query

2009-01-09 Thread Denis Moskalets
My application name: ctms-medms-test. I've some strange thing with CPU usage. I'am using Django and Appenginepatch. I've simple view: def list_city(request): queryset = ctms_City.all() return object_list(request,queryset,template_name="ctms/ city_list.html", paginate_by=500) And simple te

[google-appengine] Re: How can I get the entry's PK?

2008-11-25 Thread Denis Moskalets
In templates you can call methods of instances. In templates you do not need to use parentheses. Restriction: you can't call method with arguments. For more information, look at django template engine documentation: http://docs.djangoproject.com/en/dev/topics/templates/ In you case use: {{ entry

[google-appengine] Using field key_name in djangoforms

2008-11-25 Thread Denis Moskalets
ext/db/djangoforms.py contains interesting description for some class: If you define a form field named 'key_name' it will be treated specially and will be used as the value for the key_name parameter to the Model constructor. This allows you to create instances with named keys. The 'key_n