Re: bug in forms

2008-09-16 Thread Collin Grady
On Tue, Sep 16, 2008 at 4:40 PM, Diego Andrés Sanabria Martin (diegueus9) <[EMAIL PROTECTED]> wrote: > sorry, you have reason, my english is bad and i am tired, but i have this > error: form.clean() > Traceback (most recent call last): > File "", line 1, in ? > File "/home/felipecastel/djan

Re: bug in forms

2008-09-16 Thread Michael
On Tue, Sep 16, 2008 at 7:35 PM, Collin Grady <[EMAIL PROTECTED]>wrote: > On Tue, Sep 16, 2008 at 4:33 PM, Diego Andrés Sanabria Martin > (diegueus9) <[EMAIL PROTECTED]> wrote: > > i found this: > > Changed in Django 1.0: The cleaned_data attribute was called > > clean_data in earlier releases. >

Re: bug in forms

2008-09-16 Thread Diego Andrés Sanabria Martin (diegueus9)
sorry, you have reason, my english is bad and i am tired, but i have this error: >>> form.clean() Traceback (most recent call last): File "", line 1, in ? File "/home/felipecastel/django1.0_src/django/forms/models.py", line 208, in clean self.validate_unique() File "/home/felipecastel/dja

Re: bug in forms

2008-09-16 Thread Collin Grady
On Tue, Sep 16, 2008 at 4:33 PM, Diego Andrés Sanabria Martin (diegueus9) <[EMAIL PROTECTED]> wrote: > i found this: > Changed in Django 1.0: The cleaned_data attribute was called > clean_data in earlier releases. > > in http://docs.djangoproject.com/en/dev/topics/forms/#topics-forms-index > > I ma

Re: bug in forms

2008-09-16 Thread Diego Andrés Sanabria Martin (diegueus9)
i found this: Changed in Django 1.0: The cleaned_data attribute was called clean_data in earlier releases. in http://docs.djangoproject.com/en/dev/topics/forms/#topics-forms-index I make a mistake? On Tue, Sep 16, 2008 at 18:29, Collin Grady <[EMAIL PROTECTED]> wrote: > On Tue, Sep 16, 2008 at 4

Re: bug in forms

2008-09-16 Thread Collin Grady
On Tue, Sep 16, 2008 at 4:27 PM, Diego Andrés Sanabria Martin (diegueus9) <[EMAIL PROTECTED]> wrote: > if name in self.cleaned_data and f.unique and not is_null_pk: > and in the doc, the variable self.cleaned is now self.clean_data You are incorrect. The variable was clean_data in 0.96 but changed

bug in forms

2008-09-16 Thread Diego Andrés Sanabria Martin (diegueus9)
Hi, I find a bug in forms of django, i know i have report a ticket but the bug is very small, in the file django/forms/models.py in line 236: if name in self.cleaned_data and f.unique and not is_null_pk: and in the doc, the variable self.cleaned is now self.clean_data thanks -- Diego Andrés