fix foreign key for CustomerMailboxOption
This commit is contained in:
parent
7457754dc6
commit
95e15806c6
2 changed files with 21 additions and 1 deletions
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import models, migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('hostingpackages', '0002_auto_20150118_1319'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='customermailboxoption',
|
||||||
|
name='template',
|
||||||
|
field=models.ForeignKey(verbose_name='mailbox option template', to='hostingpackages.MailboxOption', help_text='The mailbox option template that this mailbox option is based on'),
|
||||||
|
preserve_default=True,
|
||||||
|
),
|
||||||
|
]
|
|
@ -255,7 +255,7 @@ class CustomerMailboxOption(MailboxOptionBase,
|
||||||
|
|
||||||
"""
|
"""
|
||||||
template = models.ForeignKey(
|
template = models.ForeignKey(
|
||||||
UserDatabaseOption,
|
MailboxOption,
|
||||||
verbose_name=_('mailbox option template'),
|
verbose_name=_('mailbox option template'),
|
||||||
help_text=_(
|
help_text=_(
|
||||||
'The mailbox option template that this mailbox option is based on'
|
'The mailbox option template that this mailbox option is based on'
|
||||||
|
|
Loading…
Reference in a new issue