This reverts commit 0febe11dc5, reversing
changes made to e45d73d7a3.
This has been reverted for caushing Apache to max out threads when running
under mod_wsgi.
config is no longer available to templates (changed in CKAN core), use g
instead.
This means I have to rename googleanalytics.resource_prefix to
googleanalytics_resource_prefix, because it's now an attribute and can't
have a . in it.
Should probably be using g rather than config to access the setting in
the Python code as well..
Since version 2 of the Google Analytics API was shelved the download
of previous data was broken. This commit should, once the oauth dance
has been complete, allow it to work again by changing all of the calls.
See the README for instructions on setting up OAUTH. Other bug fixes
are:
- Resources views are now clearly identified
- Package Ids are set for /dataset/edit requests
- Updated README