2015-05-07 14:09:37 +00:00
|
|
|
from django.apps import AppConfig
|
|
|
|
|
|
|
|
from orchestra.core import accounts, administration
|
2015-05-07 19:00:02 +00:00
|
|
|
from orchestra.core.translations import ModelTranslation
|
2015-05-07 14:09:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
class IssuesConfig(AppConfig):
|
|
|
|
name = 'orchestra.contrib.issues'
|
|
|
|
verbose_name = "Issues"
|
|
|
|
|
|
|
|
def ready(self):
|
|
|
|
from .models import Queue, Ticket
|
|
|
|
accounts.register(Ticket, icon='Ticket_star.png')
|
|
|
|
administration.register(Queue, dashboard=False)
|
2015-05-07 19:00:02 +00:00
|
|
|
ModelTranslation.register(Queue, ('verbose_name',))
|