Commit 7a282a9c by Will Daly

Edited comments, ran pep8

parent 911308cb
...@@ -143,7 +143,7 @@ def log_in(username, password): ...@@ -143,7 +143,7 @@ def log_in(username, password):
assert(user is not None and user.is_active) assert(user is not None and user.is_active)
# Send a fake HttpRequest to log the user in # Send a fake HttpRequest to log the user in
# We need to process the request using # We need to process the request using
# Session middleware and Authentication middleware # Session middleware and Authentication middleware
# to ensure that session state can be stored # to ensure that session state can be stored
request = HttpRequest() request = HttpRequest()
......
...@@ -215,7 +215,7 @@ def reset_problem(step): ...@@ -215,7 +215,7 @@ def reset_problem(step):
# Dictionaries that map problem types to the css selectors # Dictionaries that map problem types to the css selectors
# for correct/incorrect marks. # for correct/incorrect/unanswered marks.
# The elements are lists of selectors because a particular problem type # The elements are lists of selectors because a particular problem type
# might be marked in multiple ways. # might be marked in multiple ways.
# For example, multiple choice is marked incorrect differently # For example, multiple choice is marked incorrect differently
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment