So if I understand correctly, you are saying make author a
not-required field so is_valid() will validate to True.  Then in my
view do the commit=False on save, check if author is present and if
not, set the default author, then call save().  Something like that?

On Sun, Jul 6, 2008 at 11:35 AM, Alex Koshelev <[EMAIL PROTECTED]> wrote:
>
> Oh, `required=True` of course
>
> On Jul 6, 10:31 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote:
>> Field for `author` created with `required=False`. And `clean` method
>> doesn't call `clean_author` if `author` data isn't present.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to