Revision de292e89 snf-astakos-app/astakos/im/management/commands/user-show.py
b/snf-astakos-app/astakos/im/management/commands/user-show.py | ||
---|---|---|
111 | 111 |
('activation_sent_date', user.activation_sent), |
112 | 112 |
]) |
113 | 113 |
|
114 |
if settings_dict: |
|
115 |
kv['settings'] = settings_dict |
|
116 |
|
|
117 | 114 |
if get_latest_terms(): |
118 | 115 |
has_signed_terms = user.signed_terms |
119 | 116 |
kv['has_signed_terms'] = has_signed_terms |
... | ... | |
125 | 122 |
|
126 | 123 |
if options["list_quotas"]: |
127 | 124 |
self.stdout.write("\n") |
128 |
_, quotas, initial, _ = list_user_quotas([user])
|
|
125 |
quotas, initial = list_user_quotas([user])
|
|
129 | 126 |
print_data, labels = show_quotas(quotas, initial) |
130 | 127 |
utils.pprint_table(self.stdout, print_data, labels, |
131 | 128 |
options["output_format"]) |
Also available in: Unified diff