1. Ian Struble
  2. django


Al...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 04aa837

[1.2.X] Fixed #14897 -- fixed some synax highlighting in the formset documentation. Thanks to marcusf for the patch. Backport of [14912].

  • Participants
  • Parent commits 18babc5
  • Branches releases/1.2.X

Comments (0)

Files changed (1)

File docs/topics/forms/formsets.txt

View file
             formset = ArticleFormSet(request.POST, request.FILES)
             if formset.is_valid():
                 # do something with the formset.cleaned_data
+                pass
             formset = ArticleFormSet()
         return render_to_response('manage_articles.html', {'formset': formset})
             book_formset = BookFormSet(request.POST, request.FILES, prefix='books')
             if article_formset.is_valid() and book_formset.is_valid():
                 # do something with the cleaned_data on the formsets.
+                pass
             article_formset = ArticleFormSet(prefix='articles')
             book_formset = BookFormSet(prefix='books')