mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
optionable reference to user model
This commit is contained in:
parent
08512ac316
commit
45488cb725
3 changed files with 31 additions and 0 deletions
|
|
@ -48,6 +48,13 @@ class ActiveMailboxManager(models.Manager):
|
|||
|
||||
@python_2_unicode_compatible
|
||||
class Mailbox(models.Model):
|
||||
user = models.ForeignKey(
|
||||
django_settings.AUTH_USER_MODEL,
|
||||
blank=True,
|
||||
null=True,
|
||||
default=None
|
||||
)
|
||||
|
||||
name = models.CharField(
|
||||
_(u'Name'),
|
||||
max_length=255,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue