擅长:python、mysql、java
<p>您可以使用内置的“now”templatetag<a href="https://docs.djangoproject.com/en/3.2/ref/templates/builtins/#now" rel="nofollow noreferrer">https://docs.djangoproject.com/en/3.2/ref/templates/builtins/#now</a></p>
<pre><code>© {% now "Y" %} Copyright
</code></pre>