Sorry, I cut down my example poorly.

template has

<form action="/map/fences/newFence/" method="POST">
{{form.teaser.field.initial}}
{{form.auth_id}}  {{form.fence_id}}
<p><label for="id_teaser">Reminder String:</label>
    <input id="id_teaser" type="text" name="teaser" maxlength="40" /
></
p>

invocation looks like

        print m.teaser
        form = editFenceForm(initial={
              'auth_id' : auth_id, 'fence_id': fence_id,
              'teaser': m.teaser,  })

and, indeed, the print statement produces a value

resulting HTML looks like

<form action="/map/fences/editFence/" method="POST">

<input type="hidden" name="auth_id" value="ckantarj" id="id_auth_id" /
>  <input type="hidden" name="fence_id" value="5" id="id_fence_id" />
<p><label for="id_teaser">Reminder String:</label>
    <input id="id_teaser" type="text" name="teaser" maxlength="40" /></
p>

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to