django-orchestra-test/orchestra/contrib/orders/apps.py
2015-05-04 16:19:58 +02:00

16 lines
369 B
Python

from django.apps import AppConfig
from orchestra.core import accounts
from orchestra.utils import database_ready
class OrdersConfig(AppConfig):
name = 'orchestra.contrib.orders'
verbose_name = 'Orders'
def ready(self):
from .models import Order
accounts.register(Order)
if database_ready():
from . import signals