Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 20831e0d2f0a1b294ed0b52b92c6e1b34dc49026 1 parent dd19218
Malcolm Tredinnick malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/views/generic/create_update.py
2  django/views/generic/create_update.py
View
@@ -4,7 +4,7 @@
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,
Please sign in to comment.
Something went wrong with that request. Please try again.