Skip to content

Commit

Permalink
Testing the extension
Browse files Browse the repository at this point in the history
  • Loading branch information
tino097 committed Mar 18, 2024
1 parent 1cfba1c commit f9b0294
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions ckanext/datapusher_plus/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ def update_config(self, config: CKANConfig):
p.toolkit.add_public_directory(config, "public")
p.toolkit.add_resource("assets", "datapusher_plus")


# IResourceUrlChange

def notify(self, resource: model.Resource):
context = {
"model": model,
Expand Down Expand Up @@ -143,7 +141,6 @@ def get_helpers(self) -> dict[str, Callable[..., Any]]:
def get_blueprint(self):
return views.get_blueprints()


# IClick
def get_commands(self):
return [cli.init_db]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
# pip to create the appropriate form of executable for the target platform.
entry_points='''
[ckan.plugins]
datapusher=ckanext.datapusher_plus.plugin:DatapusherPlusPlugin
datapusher_plus=ckanext.datapusher_plus.plugin:DatapusherPlusPlugin
[babel.extractors]
ckan = ckan.lib.extract:extract_ckan
Expand Down

0 comments on commit f9b0294

Please sign in to comment.