Re: Security implications of using the form.fields dictionary directly

2011-09-03 Thread Doug Ballance
The most elegant way I've seen specialized form rendering handled was the use of template tags and filters. The django uni-form project is a good example. By using the filter and template tags you gain full access to all the form elements, and can do easy manipulation in python, but leave the ren

Re: Security implications of using the form.fields dictionary directly

2011-09-03 Thread Daniel Roseman
On Wednesday, 31 August 2011 11:26:36 UTC+2, vpetkov wrote: > > Hi all, > > In relation to my previous post (unanswered, > > http://groups.google.com/group/django-users/browse_thread/thread/aad6fc7e6ad71b4f) > > > I would like to ask about the security implications of doing the > following:

Security implications of using the form.fields dictionary directly

2011-08-31 Thread vpetkov
Hi all, In relation to my previous post (unanswered, http://groups.google.com/group/django-users/browse_thread/thread/aad6fc7e6ad71b4f) I would like to ask about the security implications of doing the following: What I would like to have in the template is: {{ form.tueren.A}} {{ form.tueren.B }