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

13 lines
278 B
Python
Raw Normal View History

2023-07-09 07:51:51 +00:00
from django.apps import AppConfig
from orchestra.core import accounts
class BillsConfig(AppConfig):
name = 'orchestra.contrib.bills'
verbose_name = 'Bills'
def ready(self):
from .models import Bill
accounts.register(Bill, icon='invoice.png')