Tuesday, September 14, 2010

Re: Not calling clean() properly

Thank you.

On Tue, Sep 14, 2010 at 3:01 AM, Daniel Roseman <daniel@roseman.org.uk> wrote:
On Sep 13, 10:50 pm, Christos Jonathan Hayward
<christos.jonathan.hayw...@gmail.com> wrote:
> Other attempts to write a clean that would run a print statement and then
> call to_python(), validate(), and run_validators() did not result in that
> print statement being called.
>
> Am I missing something about data being cleaned? The hooks I've tried to
> override don't seem to be being called.
>

You don't say what is supposed to be calling clean. Are you using a
form? If not, read this:
http://docs.djangoproject.com/en/1.2/ref/validators/#how-validators-are-run
--
DR.

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




--
Christos Jonathan Hayward
Christos Jonathan Hayward, an Orthodox Christian author.

Author Bio • Books • Email • Facebook • LinkedIn • Twitter • Web • What's New?

I invite you to visit my "theology, literature, and other creative works" site.

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

No comments:

Post a Comment