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

14 lines
326 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 OrdersConfig(AppConfig):
name = 'orchestra.contrib.orders'
verbose_name = 'Orders'
def ready(self):
from .models import Order
accounts.register(Order, icon='basket.png', search=False)
from . import signals