From 948010603065f72c83dbbb871154f17da3332b4f Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Mon, 21 Nov 2011 13:39:00 +0530 Subject: ENH: Showing login and IP details of users. Also cleaned up the dumping code to use templates. --- templates/exam/user_data.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates') diff --git a/templates/exam/user_data.html b/templates/exam/user_data.html index 7560903..a2649fb 100644 --- a/templates/exam/user_data.html +++ b/templates/exam/user_data.html @@ -10,6 +10,8 @@

Username: {{ user_data.username }}

Roll number: {{ user_data.rollno }}

Email: {{ user_data.email }}

+

Date joined: {{ user_data.date_joined }}

+

Last login: {{ user_data.last_login }}

{% if user_data.papers %} @@ -20,6 +22,8 @@

Answered questions: {{ paper.answered }}

Total attempts at questions: {{ paper.attempts }}

Total marks: {{ paper.total }}

+

Start time: {{ paper.start_time }}

+

User IP address: {{ paper.user_ip }}

{% if paper.answers %}

Answers

-- cgit