Re: problem with BooleanField form

2011-07-22 Thread ed
Ok. That last one actually worked. Just needed to a browser refresh to re-load the script. That's a total noob mistake. My bad. Thanks all :) On Jul 21, 10:49 am, ed wrote: > You mean like this: > >         var data = { >                 url: item.find("#id_url").val(), >                 title:

Re: problem with BooleanField form

2011-07-21 Thread ed
You mean like this: var data = { url: item.find("#id_url").val(), title: item.find("#id_title").val(), tags: item.find("#id_tags").val(), share: item.find("#id_share").val() }; Tried it. 'share' is still showing up fa

Re: problem with BooleanField form

2011-07-21 Thread Daniel Roseman
On Thursday, July 21, 2011 4:00:55 AM UTC+1, ed wrote: > > I'm using the following javascript, so I can't check the HTML, can I? > How would I go about debugging this? > > function bookmark_save() { > var item = $(this).parent(); > var data = { > url: item.find("#id_url").val(), > title: item

Re: problem with BooleanField form

2011-07-20 Thread ed
I'm using the following javascript, so I can't check the HTML, can I? How would I go about debugging this? function bookmark_save() { var item = $(this).parent(); var data = { url: item.find("#id_url").val(), title: item.find("#id_title").val(),

Re: problem with BooleanField form

2011-07-20 Thread SmileyChris
It should definitely be {'share': True} if you've checked the box and submitted the form. Have you ensured your checkbox inside the form tag you're submitting in HTML? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on

problem with BooleanField form

2011-07-20 Thread ed
I'm learning Django by following the turorials in Django 1.0 Website Development by Ayman Hourieh. I've been banging my head for a while on this and I know it's probably something really simple that I'm missing. I'm using the following form: class BookmarkSaveForm(forms.Form): share = fo