  from django.core.exceptions import ValidationError
  from django.utils.encoding import StrAndUnicode
  from django.utils.safestring import mark_safe
  from django.utils.translation import ugettext as _
  from fields import IntegerField, BooleanField
  from widgets import Media, HiddenInput
  from util import ErrorList
  
  __all__ = ('BaseFormSet', 'all_valid')
  
  # special field names
  TOTAL_FORM_COUNT = 'TOTAL_FORMS'
 
</s> remove from forms import Form
 </s> add from __future__ import absolute_import

  from django.core.exceptions import ValidationError
  from django.utils.encoding import StrAndUnicode
  from django.utils.safestring import mark_safe
  from django.utils.translation import ugettext as _



  
  __all__ = ('BaseFormSet', 'all_valid')
  
  # special field names
  TOTAL_FORM_COUNT = 'TOTAL_FORMS'
keep keep keep keep replace replace replace keep keep keep keep keep
 remove some relative imports from django

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17003 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/forms/formsets.py