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

14 lines
326 B
Python
Raw Permalink Normal View History

2015-05-04 14:19:58 +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
2015-10-07 22:05:00 +00:00
accounts.register(Order, icon='basket.png', search=False)
2015-05-13 17:22:54 +00:00
from . import signals