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
This commit is contained in:
Malcolm Tredinnick 2006-07-22 06:13:49 +00:00
parent dd19218f4e
commit 20831e0d2f
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ from django import forms
from django.db.models import FileField from django.db.models import FileField
from django.contrib.auth.views import redirect_to_login from django.contrib.auth.views import redirect_to_login
from django.template import RequestContext 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 from django.core.exceptions import ObjectDoesNotExist, ImproperlyConfigured
def create_object(request, model, template_name=None, def create_object(request, model, template_name=None,