[ckan-discuss] Redirecting add/edit package form

Colin Calnan colin at raisedeyebrow.com
Mon Apr 12 20:09:58 BST 2010


It didn't work.

I've tired redirecting to a page on ca.ckan.net like h.redirect_to('/tag').

Any ideas?

Colin
*Colin Calnan | Front End Developer*
Raised Eyebrow Web Studio
www.raisedeyebrow.com <http://www.raisedeyebrow.com>
T. 604.684.2498, ext. 5 | E. colin at raisedeyebrow.com
UFCW Local 120B


Rufus Pollock wrote:
> On 12 April 2010 18:30, Colin Calnan <colin at raisedeyebrow.com> wrote:
> [...]
>   
>> I had a look in /controllers/package.py - line 213:
>> h.redirect_to(action='read', id=pkgname).
>>
>> Is it possible that I could just change that to read -
>> h.redirect_to('http://www.datadotgc.ca/%s' % pkgname) ?
>>     
>
> The answer should be yes :) Try it and see ...
>
> Rufus
>   




More information about the ckan-discuss mailing list