Skip to content
Browse files

No commit message

  • Loading branch information...
1 parent e4ea0fb commit dcca5b144ae58dc2c927489a023cd9ae45445bcc Damien Szczyt committed Jan 23, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.rst
View
3 README.rst
@@ -20,13 +20,15 @@ In your forms.py
----------------
::
+
from nested_forms import ComplexModelForm
Make you main form inherit from ComplexModelForm
In Meta subclass of your ComplexModelForm, add :
::
+
formsets = {
}
@@ -35,6 +37,7 @@ This dict has for keys the related objects' names.
For the examples form Django's tutorial, we could write :
::
+
def get_choice_form(poll):
class ChoiceForm(forms.ModelForm):
class Meta:

0 comments on commit dcca5b1

Please sign in to comment.
Something went wrong with that request. Please try again.