Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#1494 closed defect (fixed)

global name 'HttpResponseRedirect' is not defined

Reported by: Alef Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


In magic-removal branch in file:


HttpResponseRedirect is used but never imported. The solution is simply:

from django.http import HttpResponseRedirect

Change History (1)

comment:1 Changed 14 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [2512]) magic-removal: Fixed #1494 -- Added missing import to django.contirb.auth.decorators

Note: See TracTickets for help on using tickets.
Back to Top