def main(global_config, **settings):
    engine = engine_from_config(settings, 'sqlalchemy.')
    DBSession.configure(bind=engine)
    Base.metadata.bind = engine
    config = Configurator(settings=settings)
    config.include('pyramid_chameleon')
    config.add_static_view('static', 'static', cache_max_age=3600)
    config.add_route('home', '/')
    config.scan()
    return config.make_wsgi_app()
this handles the account activation after the user follows the link from his/her email.
dataset/ETHPy150Open Akagi201/learning-python/pyramid/SessionTest/sessiontest/__init__.py/main--crossover with--dataset/ETHPy150Open crowdresearch/crowdsource-platform/crowdsourcing/viewsets/user.py/UserViewSet.activate_account