django-orchestra-test/orchestra/contrib/services/apps.py
2015-05-07 14:09:37 +00:00

15 lines
427 B
Python

from django.apps import AppConfig
from orchestra.core import administration, accounts
from orchestra.core.translations import ModelTranslation
class ServicesConfig(AppConfig):
name = 'orchestra.contrib.services'
verbose_name = 'Services'
def ready(self):
from .models import Service
administration.register(Service, icon='price.png')
ModelTranslation.register(Service, ('description',))