Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Corrected a couple of typos in docstrings of methods in BaseFormSet.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d441a758de854ed05b495f613a9baa47e098b4d5 1 parent 4848d4c
Brian Rosner authored August 27, 2008

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/forms/formsets.py
4  django/forms/formsets.py
@@ -119,7 +119,7 @@ def _get_cleaned_data(self):
119 119
     def _get_deleted_forms(self):
120 120
         """
121 121
         Returns a list of forms that have been marked for deletion. Raises an 
122  
-        AttributeError is deletion is not allowed.
  122
+        AttributeError if deletion is not allowed.
123 123
         """
124 124
         if not self.is_valid() or not self.can_delete:
125 125
             raise AttributeError("'%s' object has no attribute 'deleted_forms'" % self.__class__.__name__)
@@ -140,7 +140,7 @@ def _get_deleted_forms(self):
140 140
     def _get_ordered_forms(self):
141 141
         """
142 142
         Returns a list of form in the order specified by the incoming data.
143  
-        Raises an AttributeError is deletion is not allowed.
  143
+        Raises an AttributeError if deletion is not allowed.
144 144
         """
145 145
         if not self.is_valid() or not self.can_order:
146 146
             raise AttributeError("'%s' object has no attribute 'ordered_forms'" % self.__class__.__name__)

0 notes on commit d441a75

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