django-orchestra/orchestra/contrib/contacts/apps.py
2015-05-07 14:09:37 +00:00

13 lines
298 B
Python

from django.apps import AppConfig
from orchestra.core import accounts
class ContactsConfig(AppConfig):
name = 'orchestra.contrib.contacts'
verbose_name = 'Contacts'
def ready(self):
from .models import Contact
accounts.register(Contact, icon='contact_book.png')