  from django import models
  from django.core.xheaders import populate_xheaders
  from django.core import template_loader, formfields
  from django.views.auth.login import redirect_to_login
  from django.core.extensions import DjangoContext as Context
  from django.core.paginator import ObjectPaginator, InvalidPage
  from django.utils.httpwrappers import HttpResponse, HttpResponseRedirect
  from django.core.exceptions import Http404, ObjectDoesNotExist, ImproperlyConfigured
 
</s> remove def create_object(request, app_label, module_name, template_name=None, 
                 template_loader=template_loader, extra_context={}, 
 </s> add def create_object(request, app_label, module_name, template_name=None,
                 template_loader=template_loader, extra_context={}, </s> remove     
    The given template will be used to confirm deletetion if this view is 
 </s> add     The given template will be used to confirm deletetion if this view is </s> remove def delete_object(request, app_label, module_name, post_delete_redirect, 
                  object_id=None, slug=None, slug_field=None, template_name=None, 
                  template_loader=template_loader, extra_lookup_kwargs={}, 
 </s> add def delete_object(request, app_label, module_name, post_delete_redirect,
                  object_id=None, slug=None, slug_field=None, template_name=None,
                  template_loader=template_loader, extra_lookup_kwargs={}, </s> remove         
 </s> add         if mod.Klass._meta.has_field_type(meta.FileField):
            new_data.update(request.FILES)

from django.core import template_loader, formfields, meta
  from django import models
  from django.core.xheaders import populate_xheaders
from django.core import template_loader, formfields, meta
  from django.views.auth.login import redirect_to_login
  from django.core.extensions import DjangoContext as Context
  from django.core.paginator import ObjectPaginator, InvalidPage
  from django.utils.httpwrappers import HttpResponse, HttpResponseRedirect
  from django.core.exceptions import Http404, ObjectDoesNotExist, ImproperlyConfigured
keep keep replace keep keep keep keep keep
 Fixed #816 -- FileFields now work in the create_update generic view. Thanks, limodou

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1519 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/views/generic/create_update.py