Hi there,

I'm using a ModelForm and had the wish to use fieldsets.
After a short search I've found this: 
http://pypi.python.org/pypi/django-form-utils/0.1.5
Seems to be what I want. So I've installed it and changed my form from 
ModelForm to BetterModelForm.

It works so far, but when I try to create a fieldset, it gets ignored / 
not rendered.
Here's my form definition:

class ContactForm(BetterModelForm):
    class Meta:
        model = Disposal
        fieldsets = ('main', {'fields': ('customer_name',), 'legend': 
'Customer Data'}),
       

Thanks for your help,
greets ben


--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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=.


Reply via email to