Revision d44f3f89
b/snf-astakos-app/astakos/im/models.py | ||
---|---|---|
1020 | 1020 |
admins = User.objects.filter(is_superuser=True) |
1021 | 1021 |
for u in admins: |
1022 | 1022 |
create_astakos_user(u) |
1023 |
if not u.has_auth_provider('local'): |
|
1024 |
u.add_auth_provider('local') |
|
1023 | 1025 |
|
1024 | 1026 |
|
1025 | 1027 |
def user_post_save(sender, instance, created, **kwargs): |
Also available in: Unified diff