<div>
                <br>
                <form method="post" action="." enctype="multipart/form-data">
                    {% csrf_token %}
                    <div>
                        <label for="toUsername">
                            接收方username
                        </label>
                        <input type="text" id="toUsername" name="toUsername">
                    </div>
                    <div>
                        <label for="plaintext">
                            消息内容
                        </label>
                        <input type="text" id="plaintext" name="plaintext">
                    </div>
                    <button type="submit">
                        提交
                    </button>
                </form>
    </div>