diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-11-16 11:49:17 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-11-16 11:49:17 +0200 |
commit | 767debc0bd38361808c0ca29c89e6cf950eeb7f2 (patch) | |
tree | c5bf50d8ac1f674eb614a8c1372486f48a8b0ddc /servo/models | |
parent | bda127bd38b496c64abeec6d5ba7c0a09eddcb3f (diff) | |
download | Servo-767debc0bd38361808c0ca29c89e6cf950eeb7f2.tar.gz Servo-767debc0bd38361808c0ca29c89e6cf950eeb7f2.tar.bz2 Servo-767debc0bd38361808c0ca29c89e6cf950eeb7f2.zip |
Cleanup
Diffstat (limited to 'servo/models')
-rw-r--r-- | servo/models/account.py | 4 | ||||
-rw-r--r-- | servo/models/note.py | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/servo/models/account.py b/servo/models/account.py index 46eb674..13718c2 100644 --- a/servo/models/account.py +++ b/servo/models/account.py @@ -35,7 +35,6 @@ class TechieManager(UserManager): class User(AbstractUser): - customer = TreeForeignKey( Customer, null=True, @@ -58,7 +57,7 @@ class User(AbstractUser): related_name='+', on_delete=models.PROTECT, verbose_name=_('Current Location'), - help_text=_(u'Orders you create will be registered to this location.') + help_text=_('Orders you create will be registered to this location.') ) queues = models.ManyToManyField(Queue, blank=True, verbose_name=_('queues')) LOCALES = ( @@ -277,7 +276,6 @@ class User(AbstractUser): class UserGroup(Group): - def members_as_list(self): pass diff --git a/servo/models/note.py b/servo/models/note.py index ad92f7e..f5b8c15 100644 --- a/servo/models/note.py +++ b/servo/models/note.py @@ -349,9 +349,7 @@ class Note(MPTTModel): return r.exclude(status='FAILED').exists() def send_mail(self, user): - """ - Sends this note as an email - """ + """Sends this note as an email""" mailto = self.mailto() # Only send the same note once |