Dang, thanks, I knew it is something obvious...
Interesting thing is that it worked so far, I mean it rendered
properly :-)
Roodie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
On Fri, Jun 27, 2008 at 11:04 AM, Roodie <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a slight problem. I am using a custom form field to do some
> extra validation / filtering on a specific kind of field. The code is
> very simple:
>
> class HtmlEditorField(forms.Textarea):
>def
You are creating a field that subclasses a widget, which makes no
sense. forms.Textare is a widget, not a field.
On Jun 27, 11:04 am, Roodie <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a slight problem. I am using a custom form field to do some
> extra validation / filtering on a specific
Hello,
I have a slight problem. I am using a custom form field to do some
extra validation / filtering on a specific kind of field. The code is
very simple:
class HtmlEditorField(forms.Textarea):
def clean(self, value):
value = filter_common( value )
4 matches
Mail list logo