Revision a3637508

b/snf-astakos-app/astakos/im/activation_backends.py
132 132
            else:
133 133
                send_account_creation_notification(
134 134
                    template_name=admin_email_template_name,
135
                    dictionary={'user': user, 'group_creation': True}
135
                    dictionary={'user': user.__dict__, 'group_creation': True}
136 136
                )
137 137
                return NotificationSent()
138 138
        except BaseException, e:
b/snf-astakos-app/astakos/im/models.py
358 358
    def __init__(self, *args, **kwargs):
359 359
        super(AstakosUser, self).__init__(*args, **kwargs)
360 360
        self.__has_signed_terms = self.has_signed_terms
361
        if not self.id and not self.is_active:
361
        if not self.id:
362 362
            self.is_active = False
363 363

  
364 364
    @property

Also available in: Unified diff