django-orchestra-test/orchestra/contrib/mailer/apps.py

13 lines
279 B
Python
Raw Normal View History

2015-05-05 19:42:55 +00:00
from django.apps import AppConfig
from orchestra.core import administration
class MailerConfig(AppConfig):
name = 'orchestra.contrib.mailer'
verbose_name = "Mailer"
def ready(self):
from .models import Message
administration.register(Message)