[google-appengine] ReferenceProperty collection query object available in Django?

2008-10-22 Thread Alex Vartan
Hi, This is a newbie-ish sort of question, but I've got an entity that includes an implicitly defined collection: Person.contact_set as my Contact object has a ReferenceProperty that refers to the Person entity. I know from the tutorials that contact_set is a query object and thus requires a

[google-appengine] Simple question about ReferenceProperty collections

2008-10-20 Thread Alex Vartan
Hi, Simple question, but want to make sure I get this right. The docs say: collection_name is the name of the property to give to the referenced model class whose value is a Query for all entities that reference the entity. If no collection_name is set, then modelname_set (with the name of the

[google-appengine] Re: Simple question about ReferenceProperty collections

2008-10-20 Thread Alex Vartan
: This should work, use get() from the Query object somelist = theObject.subCategories.get() somelist.remove(anotherObject) 2008/10/20 Alex Vartan [EMAIL PROTECTED]: Hi, Simple question, but want to make sure I get this right. The docs say: collection_name is the name of the property

[google-appengine] Re: Newbie question - Request params available to def post(self)

2008-10-15 Thread Alex Vartan
://myapp.com/stuff?favorites=oatmealraisinbran On Tue, Oct 14, 2008 at 11:49 PM, Alex Vartan [EMAIL PROTECTED] wrote: Let's say I redirect a user to the url: myapp.com/stuff?favorites=oatmealraisinbran I generate the page with a def get(self) method in the Stuff RequestHandler class and use

[google-appengine] Possible to subclass User?

2008-10-14 Thread Alex Vartan
Apologies if this is a simple question, I'm still a python / GAE novice. Is it possible to subclass the User class? I have just a couple of extra properties and I'd like to store with User and rather not create a duplicated UserOfMyApp class that includes a user as a property if I can just

[google-appengine] Newbie question - Request params available to def post(self)

2008-10-14 Thread Alex Vartan
Let's say I redirect a user to the url: myapp.com/stuff?favorites=oatmealraisinbran I generate the page with a def get(self) method in the Stuff RequestHandler class and use self.request.get('favorites'). Then there is a form on the same page (/stuff) which processes some additional input

[google-appengine] Re: Linking directly to the Google Accounts new account page + feature request and UX complaint!

2008-10-09 Thread Alex Vartan
://moderator.appspot.com/?We are experimenting there, and could make that the default for all applications. On Oct 4, 3:09 pm, Alex Vartan [EMAIL PROTECTED] wrote: Hi there, Since for many novice users, the idea of logging into a non-Google branded app with a Google account is a bit

[google-appengine] Linking directly to the Google Accounts new account page + feature request and UX complaint!

2008-10-04 Thread Alex Vartan
Hi there, Since for many novice users, the idea of logging into a non-Google branded app with a Google account is a bit nonintuitive, I'd like to create a page with some language in my app that says to the effect Got a Google Account? Sign in by clicking here. / Otherwise, create a new account