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

15 lines
358 B
Python
Raw Normal View History

2015-05-04 14:19:58 +00:00
from django.apps import AppConfig
from orchestra.core import accounts
from orchestra.utils.db import database_ready
2015-05-04 14:19:58 +00:00
class OrdersConfig(AppConfig):
name = 'orchestra.contrib.orders'
verbose_name = 'Orders'
def ready(self):
from .models import Order
accounts.register(Order, icon='basket.png')
2015-05-13 17:22:54 +00:00
from . import signals