Module Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Assign NameStore ListLoad For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A sys django.core.management.base BaseCommand django.template Template Context yaksh.views get_user_data yaksh.models User N/A data_template N/A Template ===============================================================================
Data for {{ data.user.get_full_name.title }} ({{ data.user.username }})

Name: {{ data.user.get_full_name.title }}
Username: {{ data.user.username }}
{% if data.profile %}Roll number: {{ data.profile.roll_number }}
Position: {{ data.profile.position }}
Department: {{ data.profile.department }}
Institute: {{ data.profile.institute }}
{% endif %}Email: {{ data.user.email }}
Date joined: {{ data.user.date_joined }}
Last login: {{ data.user.last_login }} 
{% for paper in data.papers %}
Paper: {{ paper.quiz.description }}
---------------------------------------
Marks obtained: {{ paper.get_total_marks }}
Questions correctly answered: {{ paper.get_answered_str }}
Total attempts at questions: {{ paper.answers.count }}
Start time: {{ paper.start_time }}
User IP address: {{ paper.user_ip }}
{% if paper.answers.count %}
Answers
-------
{% for question, answers in paper.get_question_answers.items %}
Question: {{ question.id }}. {{ question.summary }} (Points: {{ question.points }})
{% if question.type == "mcq" %}###############################################################################
Choices: {% for option in question.options.strip.splitlines %} {{option}}, {% endfor %}
Student answer: {{ answers.0|safe }}
{% else %}{# non-mcq questions #}{% for answer in answers %}###############################################################################
{{ answer.answer.strip|safe }}
# Autocheck: {{ answer.error|safe }}
{% endfor %}{# for answer in answers #}{% endif %}{% with answers|last as answer %}Marks: {{answer.marks}}
{% endwith %}{% endfor %}{# for question, answers ... #}
Teacher comments
-----------------
{{ paper.comments|default:"None" }}
{% endif %}{# if paper.answers.count #}{% endfor %}{# for paper in data.papers #}
 dump_user_data N/A N/A unames stdout N/A N/A N/A Dump user data given usernames (a sequence) if none is given dump all
    their data.  The data is dumped to stdout.
     N/A N/A unames N/A N/A N/A N/A users N/A N/A N/A User objects all N/A N/A N/A N/A User DoesNotExist N/A N/A N/A N/A users N/A N/A uname unames N/A N/A N/A N/A user N/A N/A N/A User objects get username__exact uname N/A N/A N/A N/A User DoesNotExist N/A N/A N/A N/A stdout write N/A User %s does not exist uname N/A N/A N/A N/A users append user N/A user users N/A N/A data N/A get_user_data N/A user username N/A context N/A Context N/A data data N/A result N/A N/A data_template render context N/A N/A N/A stdout write N/A N/A result encode ascii xmlcharrefreplace N/A Command N/A BaseCommand N/A N/A args <username1> ... <usernamen> N/A help Dumps all user data to stdout, optional usernames can be
              specified.  If none is specified all user data is dumped.
            handle N/A N/A self N/A args options N/A N/A Handle the command. N/A N/A dump_user_data args N/A self stdout N/A N/A