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 "<console>", line 1, in ?
  File "/home/felipecastel/django1.0_src/django/forms/models.py", line
208, in clean
    self.validate_unique()
  File "/home/felipecastel/django1.0_src/django/forms/models.py", line
236, in validate_unique
    if name in self.cleaned_data and f.unique and not is_null_pk:
AttributeError: 'IdeaForm' object has no attribute 'cleaned_data'
>>>
and i read the doc over and over again and i cant use the forms.

On Tue, Sep 16, 2008 at 18:35, 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.
>>
>> in http://docs.djangoproject.com/en/dev/topics/forms/#topics-forms-index
>>
>> I make a mistake?
>
> That line also says what I said - it *used to be* clean_data in 0.96,
> but it *is* cleaned_data now.
>
> So if the line of code had clean_data, it would be wrong, but it has
> cleaned_data, so it is right.
>
> --
> Collin Grady
>
> >
>



-- 
Diego Andrés Sanabria
Ingeniería de Sistemas Universidad Distrital
blog trágico mágico cómico musical: http://diegueus9.blogspot.com
blog geek: http://pyautoservicio.blogspot.com
cel 3015290609

http://www.el-directorio.org/Diegueus9
El sitio de linux y el Software Libre en Colombia

"Hay pecados cuya fascinación está más en el recuerdo que en la
comisión de ellos." Oscar Wilde

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to