On 12/26/06, Honza Král <[EMAIL PROTECTED]> wrote:
there could be an initial_value parameter for Fields... I have implemented it as part of the default parameter, I am still waiting for any feedback, one of the solutions to that problem (see the post in this group [0]) would be to split the behaviour between initial_value -- something to display in a field when created and default -- something to replace empty value when submitted
As of changeset [4249], I've implemented an "initial" parameter for Fields, which lets you specify something to display when the Field is in a Form that hasn't received any data (i.e., a Form that has been initialized with data=None). Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---
