I concur with Oliver.
Obviously if your dynamic user_name is a variable, it would look like
this:
form=MyForm(initial={'user_name':user_name})
And of course, this is written in the view.
On May 12, 2:41 pm, oliver <[EMAIL PROTECTED]> wrote:
> I do it like this:
>
> def frommagic(request):
>
I do it like this:
def frommagic(request):
if request.POST:
process form
else:
from = MyForm(initial={'user_name': 'John Doe' })
works well in our quite complex 6 step booking form ..
On May 12, 9:37 pm, Mike Chambers <[EMAIL PROTECTED]> wrote:
> I have a project where I need to dyn
2 matches
Mail list logo