django-orchestra/orchestra/contrib/contacts/apps.py
2023-07-09 07:51:51 +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')