django-orchestra-test/orchestra/contrib/mailboxes/apps.py

15 lines
402 B
Python
Raw Permalink Normal View History

from django.apps import AppConfig
from orchestra.core import services
class MailboxesConfig(AppConfig):
name = 'orchestra.contrib.mailboxes'
verbose_name = 'Mailboxes'
def ready(self):
from .models import Mailbox, Address
services.register(Mailbox, icon='email.png')
services.register(Address, icon='X-office-address-book.png')
2015-10-07 11:44:30 +00:00
from . import signals