1👍
If you want to test that whole view, you can look into:
https://docs.djangoproject.com/en/1.10/topics/testing/advanced/
Basically you can write a test that will send a dummy request with POST method on that view, and then validate by checking the response.
Source:stackexchange.com