parsley.js 在我的 Django 表单验证中不起作用

parsley.js is not working in my Django form validation

Django 中的这段代码没有显示任何验证错误。我是否遗漏了任何语法或标记?

<head>
    <link rel="stylesheet" type="text/css" href="/static/css/side_file.css">
    <script type="text/javascript" src="/static/js/parsley.js"></script>
    <link rel="stylesheet" type="text/css" href="/static/css/side_file.css">
    <script type="text/javascript" src="/static/js/parsley.js"></script>
</head>

<body>
    <form data-parsley-validate method="POST">
       {{form}}
    </form>
</body>
<head>
<link rel="stylesheet" type="text/css" href="/static/css/side_file.css">
<script type="text/javascript" src="/static/js/jquery.js"></script> # add jquery
<script type="text/javascript" src="/static/js/parsley.js"></script>
</head>

<body>
    <form data-parsley-validate method="POST">
       {{form}}
    </form>
</body>