* It is now possible to remove all external addresses from an alias

* Fixed bad SQL queries in the documentation (those used to find aliases)

see #143
This commit is contained in:
Antoine Nguyen
2011-07-03 11:19:36 +02:00
parent e38a2fc25b
commit 22858c9865
2 changed files with 14 additions and 21 deletions
+2
View File
@@ -271,6 +271,8 @@ class Alias(DatesAware):
def save(self, int_targets, ext_targets, *args, **kwargs):
if len(ext_targets):
self.extmboxes = ",".join(ext_targets)
else:
self.extmboxes = ""
super(Alias, self).save(*args, **kwargs)
curmboxes = self.mboxes.all()
for t in int_targets: