summaryrefslogtreecommitdiff
path: root/exam/management/commands/dump_user_data.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-21 15:46:54 +0530
committerPrabhu Ramachandran2011-11-21 15:46:54 +0530
commit4df6fb51be0661aaf0f852e4f2bedc2bb72e1eef (patch)
treefe5219e4f7a589c67b2fe2a595bef5aa94fcbb7a /exam/management/commands/dump_user_data.py
parent75c5904f27dc82d9445804aa5a9543dae40fcdf2 (diff)
downloadonline_test-4df6fb51be0661aaf0f852e4f2bedc2bb72e1eef.tar.gz
online_test-4df6fb51be0661aaf0f852e4f2bedc2bb72e1eef.tar.bz2
online_test-4df6fb51be0661aaf0f852e4f2bedc2bb72e1eef.zip
ENH: Adding dept/insti/pos fields in profile.
Adding institute/department/position fields, prettifying form with some help text. Also prettified monitor and user data. Updated commands to show/dump new fields.
Diffstat (limited to 'exam/management/commands/dump_user_data.py')
-rw-r--r--exam/management/commands/dump_user_data.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/exam/management/commands/dump_user_data.py b/exam/management/commands/dump_user_data.py
index bd8f566..f14e144 100644
--- a/exam/management/commands/dump_user_data.py
+++ b/exam/management/commands/dump_user_data.py
@@ -14,6 +14,9 @@ Name: {{ user_data.name.title }}
Username: {{ user_data.username }}
Roll number: {{ user_data.rollno }}
Email: {{ user_data.email }}
+Position: {{ user_data.position }}
+Department: {{ user_data.department }}
+Institute: {{ user_data.institute }}
Date joined: {{ user_data.date_joined }}
Last login: {{ user_data.last_login }}
{% for paper in user_data.papers %}