Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ ckanext-showcase is intended to be a more powerful replacement for the
Requirements
------------

Tested on CKAN 2.9 to 2.11.
Tested on CKAN 2.10 to 2.11.

Note: Use `1.5.2` tag for older CKAN versions 2.7, 2.8 and `1.8.3` tag for CKAN version 2.9.

Note: Use `1.5.2` for older CKAN versions (2.7 and 2.8).

------------
Installation
Expand Down
20 changes: 20 additions & 0 deletions ckanext/showcase/config_declaration.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 1
groups:
- annotation: showcase configuration
options:
- key: ckan.upload.showcase.types
type: list
default: image
example: image text
- key: ckan.upload.showcase.mimetypes
type: list
default: image/png image/gif image/jpeg
example: image/png
- key: ckan.upload.showcase_image.types
type: list
default: image
example: image text
- key: ckan.upload.showcase_image.mimetypes
type: list
default: image/png image/gif image/jpeg
example: image/png
1 change: 1 addition & 0 deletions ckanext/showcase/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
DATASET_TYPE_NAME = utils.DATASET_TYPE_NAME


@tk.blanket.config_declarations
class ShowcasePlugin(plugins.SingletonPlugin, lib_plugins.DefaultDatasetForm):
plugins.implements(plugins.IConfigurer)
plugins.implements(plugins.IDatasetForm)
Expand Down