[ckan-discuss] Redirecting add/edit package form
Rufus Pollock
rufus.pollock at okfn.org
Mon Apr 12 19:43:48 BST 2010
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
--
Open Knowledge Foundation
Promoting Open Knowledge in a Digital Age
http://www.okfn.org/ - http://blog.okfn.org/
More information about the ckan-discuss
mailing list