Comments, whitespace from review.

This commit is contained in:
David Ormsbee
2012-11-07 19:28:22 -05:00
parent ab0e7cf4ae
commit e90d321142
2 changed files with 2 additions and 12 deletions

View File

@@ -57,18 +57,6 @@ class Command(BaseCommand):
writer.writerow(record)
def reset_sample_data(self):
def make_sample(**kwargs):
data = dict((model_field, kwargs.get(model_field, ""))

View File

@@ -775,6 +775,8 @@ def accept_name_change(request):
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
def test_center_login(request):
if not settings.MITX_FEATURES.get('ENABLE_PEARSON_HACK_TEST'):