integreat-cms icon indicating copy to clipboard operation
integreat-cms copied to clipboard

Native datetime when opening media library

Open ulliholtgrave opened this issue 8 months ago • 0 comments

Describe the Bug

I don't think this is really important, but when I open the media library after executing install.sh I always get one log entry with the following warning:

Jun 06 09:01:20 INFO django.server - "GET /media-library/ HTTP/1.1" 200 6348
Jun 06 09:01:20 INFO django.server - "GET /static/main.57cb0cf0cfd051ab1942.js HTTP/1.1" 304 0
/home/ulli/Documents/Integreat/integreat-cms/.venv/lib/python3.11/site-packages/django/db/models/fields/__init__.py:1535: RuntimeWarning: DateTimeField Event.end received a naive datetime (2024-06-06 00:00:00) while time zone support is active.
  warnings.warn(

I guess we forgot to change one specific field when upgrading to timezone-aware datetimes.

ulliholtgrave avatar Jun 06 '24 09:06 ulliholtgrave