You need to specify via Django decorators that this view only processes HTTP POST requests. Otherwise, you need to verify the HTTP method and act differently based on it.