tests: use `dedent` with `extra_settings`, indent
django_testdir: use `ensure=True` with `write` for `create_*`