I've encountered a strange occurence whereby I am seeing a trailing
slash added to an item of form data.

I am passing a parameter from a template to an inclusion tag {%
show_tag <id> %}. This <id> value is then returned from the inclusion
tag defintion in a dictionary (return {'form':form, 'value':id}) to
render the form for use in a hidden field (<input type="hidden"
name="xyz" value={{ value }}/>

When I view the html source in the browser it shows a "/" after the
number e.g.  "6/" This is also passed to the Form when posted. It's
causing the Form to fail on the is_valid function.

Can anyone explain this behaviour?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to