conwetlab/ckanext-datarequests

AttributeError: 'module' object has no attribute 'redirect'

owl17 opened this issue · 5 comments

owl17 commented

Hi,
After I submit data request application, my webpage show server error.
Here is my apache2 error log.

Apache Log

I also look into base.py and I didn't found any redirect function also.
Please help, thank you

This functionality was moved and some extensions need to be updated. You can see a simple way to rewrite the code so that you still have access to a function called redirect here:
derilinx/ckanext-issues@035fcdd?diff=split

owl17 commented

@mattfullerton
Thanks for your solution! It works like a charm!

owl17 commented

@aitormagan
Sure, please give me some time