[ckan-dev] Editing ckan code
matt.fullerton at gmail.com
Tue Dec 18 07:38:15 UTC 2018
This sounds like one install is in development mode (code is run from where
you are editing) and the other has the code installed into the Python
environment somewhere else. You could try running "updatedb" and then
"locate controllers/package.py" to see where the actual install is.
Or... there might be a difference in how the two CKANs are running,
necessitating a restart on one and not on the other. If you are running
through Apache, you need to restart/reload Apache.
On Mon, 17 Dec 2018 at 14:49, Neuvonen Samuli <samuli.neuvonen at ymparisto.fi>
> Dear list,
> We have made small modifications to the "ckan-core" i.e. to files
> ckan/controllers/package.py and
> ckan/templates/package/snippets/package_form.html. On the server where we
> made the changes they work fine. However, transferring them to another
> ckan-instance didn't work. After comparing the two instances I first
> noticed that on the latter one we do not have the corresponding pyc-file
> for package.py. After this I realized that none of the changes made to the
> file package.py actually have any effect. I even changed the name of the
> file and CKAN-worked fine (except for our changes of course). So what does
> ckan use instead of this code and from where? And why on this new server
> and not on the old one?
> If anyone has any idea what's going on or how we could try to trace the
> problem, I would be very grateful!
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ckan-dev