Commit 62b1bc43 authored by Denis Laxalde's avatar Denis Laxalde
Browse files

[entities] Make ICKANPublishable adapter abstract

Better rely on explicit instanciation and selection in client code.
parent 7c8af9dda7d9
......@@ -42,6 +42,7 @@ def slugify(value):
class CKANPublishableAdapter(EntityAdapter):
"""Adapter for entity that can be mapped to a CKAN dataset"""
__regid__ = 'ICKANPublishable'
__abstract__ = True
__select__ = (EntityAdapter.__select__ &
relation_possible('ckan_dataset_id', role='subject'))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment