From 20831e0d2f0a1b294ed0b52b92c6e1b34dc49026 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sat, 22 Jul 2006 06:13:49 +0000 Subject: [PATCH] Fixed #2399 -- restored HttpResponse (overly enthusiastic pruning in r3414). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3421 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/views/generic/create_update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/views/generic/create_update.py b/django/views/generic/create_update.py index 67475f01ca..27ba327ff5 100644 --- a/django/views/generic/create_update.py +++ b/django/views/generic/create_update.py @@ -4,7 +4,7 @@ from django import forms from django.db.models import FileField from django.contrib.auth.views import redirect_to_login from django.template import RequestContext -from django.http import Http404, HttpResponseRedirect +from django.http import Http404, HttpResponse, HttpResponseRedirect from django.core.exceptions import ObjectDoesNotExist, ImproperlyConfigured def create_object(request, model, template_name=None,