django-composite-form 0.1.2

Helper class to handle form composition
django-composite-form is a helper class to handle Django form composition.

Usage:

class ProfileAddressForm(forms.Form):
 address = forms.CharField()


class ProfileBirthDayForm(forms.Form):
 birthday = forms.DateField()


class ProfileForm(CompositeForm):
 form_list = [ProfileAddressForm, ProfileBirthDayForm]


profile_form = ProfileForm({"address": "13 Test St"})
assert profile_form.errors == {'birthday': [u'This field is required.']}

last updated on:
December 21st, 2011, 12:39 GMT
price:
FREE!
developed by:
Roman Dolgiy
homepage:
github.com
license type:
Other/Proprietary License
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT