      response = HttpResponse(t.render(c))
      populate_xheaders(request, response, app_label, module_name, getattr(object, object._meta.pk.name))
      return response
  
  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={}, 
                    extra_context={}, login_required=False):
      """
      Generic object-delete function.
      
      The given template will be used to confirm deletetion if this view is 
 
</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 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         
 </s> add         if mod.Klass._meta.has_field_type(meta.FileField):
            new_data.update(request.FILES)
 </s> remove from django.core import template_loader, formfields
 </s> add from django.core import template_loader, formfields, meta
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={},
      response = HttpResponse(t.render(c))
      populate_xheaders(request, response, app_label, module_name, getattr(object, object._meta.pk.name))
      return response
  
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={},
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={},
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={},
                    extra_context={}, login_required=False):
      """
      Generic object-delete function.
      
      The given template will be used to confirm deletetion if this view is 
keep keep keep keep replace replace 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