On Jan 6, 2009, at 4:18 AM, Alistair Marshall wrote:

> When creating a new feed unit the system works fine. However if you go
> and edit an existing feed unit, an error gets thrown when saving the
> form.

The problem is this bit in main_form.html, around line 37:

     {% ifnotequal field.label "Id" %}
     <td>{{ field }}</td>
     {% endifnotequal %}

The omitted ID is causing your KeyError; leave it in the form.

John


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