14 lines
312 B
Python
14 lines
312 B
Python
from django.apps import AppConfig
|
|
|
|
from orchestra.core import accounts
|
|
|
|
|
|
class OrdersConfig(AppConfig):
|
|
name = 'orchestra.contrib.orders'
|
|
verbose_name = 'Orders'
|
|
|
|
def ready(self):
|
|
from .models import Order
|
|
accounts.register(Order, icon='basket.png')
|
|
from . import signals
|