Fix read only create
Compare changes
Files
2- Mike Knee authored
Read only create failed to work correctly due to the way DRF serializers behave. Updates to work consistently, and adds test to cover this case.
+ 33
− 4
@@ -204,13 +204,10 @@ def test_account_delete_valid_at_earlier(api_client):
@@ -223,6 +220,16 @@ def test_read_only_mode(api_client, settings):
@@ -244,6 +251,28 @@ def test_read_only_mode(api_client, settings):