def proper_errorpage(self, url, r, e): messages.error(r, str(e)) if isLedgerURL(url): return HttpResponseRedirect(url) else: return HttpResponseRedirect(reverse('payments:payments-error'))
def proper_errorpage(self,url,r,e): messages.error(r,str(e)) if isLedgerURL(url): return HttpResponseRedirect(url) else: return HttpResponseRedirect(reverse('payments:payments-error'))