On 11/14/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
> scroll down a little further on that page and you'll see that the User
> model has:
>
> last_login = models.DateTimeField(_('last login'),
> default=models.LazyDate())
> date_joined = models.DateTimeField(_('date joined'),
> default=models.LazyDate())
Well, as far back as I can remember, default values have only ever
been used when you actually display the values in a form to the user;
they don't get auto-filled for you when you don't show the field.
That's why User.objects.create_user only takes three arguments, but
passes the full array of values to fill in a User instance.
Or am I missing something here?
--
"May the forces of evil become confused on the way to your house."
-- George Carlin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---