Commit e90d3211 by David Ormsbee

Comments, whitespace from review.

parent ab0e7cf4
...@@ -57,18 +57,6 @@ class Command(BaseCommand): ...@@ -57,18 +57,6 @@ class Command(BaseCommand):
writer.writerow(record) writer.writerow(record)
def reset_sample_data(self): def reset_sample_data(self):
def make_sample(**kwargs): def make_sample(**kwargs):
data = dict((model_field, kwargs.get(model_field, "")) data = dict((model_field, kwargs.get(model_field, ""))
......
...@@ -775,6 +775,8 @@ def accept_name_change(request): ...@@ -775,6 +775,8 @@ def accept_name_change(request):
return accept_name_change_by_id(int(request.POST['id'])) return accept_name_change_by_id(int(request.POST['id']))
# TODO: This is a giant kludge to give Pearson something to test against ASAP.
# Will need to get replaced by something that actually ties into TestCenterUser
@csrf_exempt @csrf_exempt
def test_center_login(request): def test_center_login(request):
if not settings.MITX_FEATURES.get('ENABLE_PEARSON_HACK_TEST'): if not settings.MITX_FEATURES.get('ENABLE_PEARSON_HACK_TEST'):
......
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