Error creating extensions in CKAN

0

Can you tell me how to solve this error?

  

ImportError: 'module' object has no attribute 'ExampleIAuthfunctionsPlugin'

My class:

# encoding: utf-8

import ckan.plugins as plugins

class ExampleIAuthFunctionsPlugin(plugins.SingletonPlugin):
    pass

followed by the entry point code if necessary:

entry_points='''
[ckan.plugins]
example_iauthfunctions=ckanext.iauthfunctions.plugin:ExampleIAuthFunctionsPlugin
''',
    
asked by Christian Gabriel 13.07.2017 в 15:12
source

0 answers