Re: displaying values with SelectDateTime widget

2007-07-05 Thread Bob Dively
On Jul 5, 4:20 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I take it you're using a default {{form}} view instead of outputting > your own? > If you output your own, it's as simple as using the |date:"" filter. It's not a formatting problem. I can't figure out how to get the correct valu

Re: displaying values with SelectDateTime widget

2007-07-05 Thread [EMAIL PROTECTED]
I take it you're using a default {{form}} view instead of outputting your own? If you output your own, it's as simple as using the |date:"" filter. On Jul 5, 3:09 pm, Bob Dively <[EMAIL PROTECTED]> wrote: > I'm trying to use the SelectDateTime widget but I can't figure out how > to get it to corr

displaying values with SelectDateTime widget

2007-07-05 Thread Bob Dively
I'm trying to use the SelectDateTime widget but I can't figure out how to get it to correctly display a value retrieved from a database. For example: client = Client.objects.get(Client_ID=client_id) ClientForm = forms.models.form_for_instance(client) ClientForm.base_fields['Birth_Dat'].widget = S