Hello,

I am implementing a scenario where multiple attachments are part of an
'article' entity. When using Article.ChangeManipulator(article_id,
follow = { 'attachment': True }) within my custom controller (which is
build according to the guidelines for the new admin branch) the
following things break:

 - Attachments are added even when there is no selection for them
 - Validation is ignored (in the admin interface validation works)

The template looks like this:

{% for at in form.attachment
 <li> {{ at.data }} - {{ at.data_file }} - {{ at.uploaded_on }}</li>
{% endfor %}

What am I doing wrong?

puzzled,


rgs/yawn


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to