template. The hidden field looks like:
<input type="hidden" value="{% if post.url %}{{ post.url }}{%else
%}""{%endif%}" name="url" />
I also tried:
<input type="hidden" value="{{ post.url }}" name="url" />
In my view.py I have:
postdata = request.POST.copy()
url = str(postdata.get('url'))
The value of url is None. Is there an additional trick to this?
Thanks
Jim
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment