AttributeError: 'module' object has no attribute 'redirect'
owl17 opened this issue · 5 comments
owl17 commented
mattfullerton commented
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
mattfullerton commented
Affected lines are:
https://github.com/conwetlab/ckanext-datarequests/blob/master/ckanext/datarequests/controllers/ui_controller.py#L177
https://github.com/conwetlab/ckanext-datarequests/blob/master/ckanext/datarequests/controllers/ui_controller.py#L262
https://github.com/conwetlab/ckanext-datarequests/blob/master/ckanext/datarequests/tests/test_ui_controller.py#L217
owl17 commented
@mattfullerton
Thanks for your solution! It works like a charm!
aitormagan commented
Thanks you both for the solution. We will try to fix that in future versions in order to be compatible with the latest CKAN versions. @owl17, if you prefer, you can create a PR with the changes.
Aitor Magán García
… El 14 sept 2017, a las 8:39, owl17 ***@***.***> escribió:
Closed #26.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
owl17 commented
@aitormagan
Sure, please give me some time