KeyError at /save/ 'tags'

2011-02-14 Thread corden
Here's the code views.py -- def bookmark_save_page(request): if request.method == 'POST': form = BookmarkSaveForm(request.POST

Re: KeyError at /save/ 'tags'

2011-02-14 Thread David De La Harpe Golden
On 14/02/11 13:58, corden wrote: > tag_names = form.cleaned_data['tags'].split() ^^^ tags > tag = forms.CharField(label=u'Tags', required=False, ^^^ tag ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this grou

Re: KeyError at /save/ 'tags'

2011-02-14 Thread Corden Naraga - Davao City, Philippines
Ya, that line causes the error - tag_names = form.cleaned_data['tags'].split() On Feb 15, 12:28 am, David De La Harpe Golden wrote: > On 14/02/11 13:58, corden wrote: > > >             tag_names = form.cleaned_data['tags'].split() > > ^^^ tags > > >     tag = forms.CharField(label=u'Tags', requir