implement model changes

- add new domains.apps.AppConfig to allow translatable app description for
  domains app
- link domains to a customer
- extract common functionality from domains.models.MailDomain into abstract
  domains.models.DomainBase
- add separate domains.models.HostingDomain to allow for generic external
  domains
- add new hostingpackages.models.CustomerHostingPackageDomain to assign hosting
  domains to hosting packages
This commit is contained in:
Jan Dittberner 2015-01-24 19:10:58 +01:00
parent a3e3e2a76f
commit 0c291f0510
6 changed files with 177 additions and 2 deletions

View file

@ -0,0 +1,17 @@
"""
This module contains the :py:class:`django.apps.AppConfig` instance for the
:py:mod:`domains` app.
"""
from __future__ import unicode_literals
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class DomainAppConfig(AppConfig):
"""
AppConfig for the :py:mod:`domains` app.
"""
name = 'domains'
verbose_name = _('Domains')