diff --git a/codeforlife/user/serializers/user_test.py b/codeforlife/user/serializers/user_test.py index c6d14075..415a1462 100644 --- a/codeforlife/user/serializers/user_test.py +++ b/codeforlife/user/serializers/user_test.py @@ -66,4 +66,6 @@ def test_to_representation__indy(self): "teacher": None, "student": None, }, + # TODO: remove in new schema. + non_model_fields={"requesting_to_join_class", "teacher", "student"}, )