Hello Andre,

it took me some time, but since I couldn't get insight in suggestion
1) and 2) really seemed too ugly, I've discovered an intermediate
solution.
I came around it when trying to make suggestion 2) a little less ugly,
and after all it's still quite easy ;-)

3) Write a template-filter that looks for a css-attribute in the
field, which I set dynamically during the form's __init__.
I also understand now why my first approach didn't work after
realising how BoundFields are created by Django.

I've put my solution here:
<http://djangosnippets.org/snippets/2487/>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to