from pyramid.config import Configurator

# we must make sure custom models are known at database initialization!
from parabank14 import models

from parabank14.models import Syncretism, Pattern, Paradigm, Word
from parabank14.interfaces import ISyncretism, IPattern, IParadigm
from clld import interfaces as clldInt


def main(global_config, **settings):
    """ This function returns a Pyramid WSGI application.
    """
    config = Configurator(settings=settings)
    config.include('clld.web.app')
    config.add_static_view("todata", "todata")
    config.register_resource('syncretism', Syncretism, ISyncretism, with_index=True)
    config.register_resource('pattern', Pattern, IPattern, with_index=True)
    config.register_resource('paradigm', Paradigm, IParadigm, with_index=True)
    config.register_resource('word', Word, clldInt.IValue, with_index=True)

    return config.make_wsgi_app()

@@ -119,18 +119,16 @@
 parabank
-14
  import 
@@ -148,18 +148,16 @@
 parabank
-14
 .models 
@@ -216,10 +216,8 @@
 bank
-14
 .int

Update __init__.py