[Fixed]-How is HttpResponseRedirectBase class being called when I call HttpResponseRedirect

1👍

You are trying to inherit a function

class bar(foo):

Where foo is function.Did you mean

class foo(object) :
  def __init__(self,par):
    print "Inside foo constructor"

Leave a comment