Hi Lucky,

On 8/2/07, Lucky B <[EMAIL PROTECTED]> wrote:
>
> I think you should be using form_for_instance on the dvd instance
> instead of the generic form contructor.
> http://www.djangoproject.com/documentation/newforms/#form-for-instance

This works, and this is the way I had it first. But I don't
want to display all fields of the model. That's why I created a form
containing just a few fields of the model.

Unfortunately I cannot delete fields out of a form created with
form_for_instance:
<type 'exceptions.TypeError'>: 'DVDInstanceForm' object does not
support item deletion

Thanks,
Kai

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to