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

13 lines
278 B
Python

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')