mod_wsgi error messaged on using URLField in template.

Hi,
I have set up my Django application with mod_wsgi and Apache, and now getting error messages in the Apache error log which I didn’t get in the Django development server.

The template looks like this:

{% for item in items %}
  <a href="{{ item.url }}">{{ item.name }}</a>
{% endfor %}

item.url is a URLField containing a link to a resource in another site, i.e. “http://some.other.site.com/path/to/resource”.
The link in the resulting page is rendered as expected, but errors are reported for each item in the Apache error log bloating the log file:

[Fri Aug 28 15:19:29.355443 2020] [wsgi:error] [pid 67010] [remote 111.122.133.144:57620] Not Found: /django/app/path/http:/host.from.item.url/path/to/resource.file

I am suspecting that the validation logic of URLField tries to access the file in the server.
Is there any way to get rid of the error messages? (i.e. forcefully convert the URL to string).

Can you post the full model definition?