[google-appengine] Re: Django Forms - Can I set a key_name?

2008-11-09 Thread Bad Dog
Savraj, I ended up getting this to work: data= bugForm(data=self.request.POST) if data.is_valid(): # Save the data entity=data.save(commit=False) entity._key_name='bug%d'%entity.bug_id entity.put() Note the _key_name ( I found this by running the dev

[google-appengine] Re: Django Forms - Can I set a key_name?

2008-11-09 Thread Bad Dog
Savraj, On Nov 8, 1:07 pm, Savraj <[EMAIL PROTECTED]> wrote: > I have found a workaround -- but I would still like to know if this is > possible. Can you explain what your workaround was? I'm also interested in setting the key_name when using djangoforms. -Bill > > On Nov 6, 11:58 am, Savraj <