Re: problem with request.GET.getlist['choices']

2007-10-29 Thread faypy
thanks in advance i know i made a bad mistake, but it's 00:23 , & mind is tired . no need for python tuturial . lol thank u anyway On Oct 29, 11:48 pm, Matthias Kestenholz <[EMAIL PROTECTED]> wrote: > On 29.10.2007, at 21:39, faypy wrote: > > > > > what do u

Re: problem with request.GET.getlist['choices']

2007-10-29 Thread faypy
what do u mean? there is no pause in between... On Oct 29, 11:35 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 10/29/07, faypy <[EMAIL PROTECTED]> wrote: > > > sending forms checkbox values as choices , > > but none of these wor

problem with request.GET.getlist['choices']

2007-10-29 Thread faypy
hi using django 0.96.1 & sending forms checkbox values as choices , but none of these works : request.POST.getlist['choices'] request.GET.getlist['choices'] error: 'instancemethod' object is unsubscriptable but these works: request.POST['choices'] request.GET['choices'] & give the the LAST

newforms problems

2007-10-15 Thread faypy
hi it's about checking confirmations Field class Foo(Form): pass = CharField(min_length=6,max_length=20) repass = CharField(min_length=6,max_length=20) def pass_matched(self): if self.fields['pass'] == self.fields['repass']: return True else: return

setup_environ(settings) fails

2007-10-14 Thread faypy
it's a simple test script: from django.core.management import setup_environ import settings settings.DATABASE_NAME = '/home/me/mysite/libtest.sdb' print settings.DATABASE_NAME setup_environ(settings) from ist.models import * from ist.tests import users the problem is it will change the