summaryrefslogtreecommitdiffstats
path: root/askbot/importers
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-01-25 17:10:35 -0500
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-01-25 17:10:35 -0500
commit31687197677cf26380cf105da025529a81c110db (patch)
tree432599faeafbffa846de5fec12980b7286b3a206 /askbot/importers
parent7e66d4cdcecc3ab2c92d58efa6201df5dbdcf58d (diff)
downloadaskbot-31687197677cf26380cf105da025529a81c110db.tar.gz
askbot-31687197677cf26380cf105da025529a81c110db.tar.bz2
askbot-31687197677cf26380cf105da025529a81c110db.zip
increased fonts, slightly restyled the question summary view and restored use of the is_staff field for the forum admins because they must be staff in order to edit settings
Diffstat (limited to 'askbot/importers')
-rw-r--r--askbot/importers/stackexchange/management/commands/load_stackexchange.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/importers/stackexchange/management/commands/load_stackexchange.py b/askbot/importers/stackexchange/management/commands/load_stackexchange.py
index 47d58ac8..6b656f58 100644
--- a/askbot/importers/stackexchange/management/commands/load_stackexchange.py
+++ b/askbot/importers/stackexchange/management/commands/load_stackexchange.py
@@ -765,7 +765,7 @@ class Command(BaseCommand):
u = askbot.User()
u_type = se_u.user_type.name
if u_type == 'Administrator':
- u.is_superuser = True
+ u.set_admin_status()
elif u_type == 'Moderator':
u.set_status('m')
elif u_type not in ('Unregistered', 'Registered'):