[ckan-dev] Hello-word-type theme extension
James Gardner
james at 3aims.com
Tue Mar 29 12:26:19 UTC 2011
Hi Seb,
Good stuff. I've noticed the Debian packaging (see
https://bitbucket.org/okfn/ckan/src/default/doc/deb.rst) doesn't always
like extension points in __init__.py files. Haven't been able to work
out why, but to solve the issue I've been moving all such code to a
"plugin.py" file instead and I think this should now be considered best
practice instead. For example:
https://bitbucket.org/okfn/ckanext-harvest/changeset/784c90306f4b
Could you please apply this change to your example too?
Cheers,
James
On 29/03/11 12:58, Seb Bacon wrote:
> Hi,
>
> I've just created a new CKAN extension to demonstrate some evolving
> best-practices regarding encapsulating all your customisations and
> changes to core CKAN in a single package.
>
> As I say, it's evolving, so perhaps some people have other / better
> ideas about how to structure it.
>
> Anyway, a first version is at
> https://bitbucket.org/okfn/ckanext-exampletheme; the README should
> provide some basic orientation.
>
> Regards,
>
> Seb
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
More information about the ckan-dev
mailing list