rattail-demo/rattail_demo/web/subscribers.py

12 lines
281 B
Python
Raw Normal View History

2016-12-10 15:40:21 -06:00
# -*- coding: utf-8 -*-
"""
Pyramid Event Subscribers
"""
from __future__ import unicode_literals, absolute_import
def includeme(config):
config.include('tailbone.subscribers')
config.add_subscriber('tailbone.subscribers.add_inbox_count', 'pyramid.events.BeforeRender')