On 8/3/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> What you want is to pass in a callable for the default value (not the
> result of calling the callable, which is what you are doing now). See
> http://www.djangoproject.com/documentation/models/field_defaults/ for an
> example.

Callable defaults - impressive!

a
-- 
Alan Green
[EMAIL PROTECTED] - http://bright-green.com

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to