2015-05-06 19:30:13 +00:00
|
|
|
from django.apps import AppConfig
|
|
|
|
|
2015-05-07 14:09:37 +00:00
|
|
|
from orchestra.core import administration, accounts
|
|
|
|
from orchestra.core.translations import ModelTranslation
|
|
|
|
|
2015-05-06 19:30:13 +00:00
|
|
|
|
|
|
|
class ServicesConfig(AppConfig):
|
|
|
|
name = 'orchestra.contrib.services'
|
|
|
|
verbose_name = 'Services'
|
2015-05-07 14:09:37 +00:00
|
|
|
|
|
|
|
def ready(self):
|
|
|
|
from .models import Service
|
|
|
|
administration.register(Service, icon='price.png')
|
|
|
|
ModelTranslation.register(Service, ('description',))
|