Generates RuntimeWarning with regards "naive datetime":
/var/modoboa/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1430: RuntimeWarning: DateTimeField Report.start_date received a naive datetime (2017-09-27 05:04:03) while time zone support is active. RuntimeWarning)
Although the warning is generated the report IS imported.
Impacted versions
Steps to reproduce
python manage.py import_aggregated_report --imap --host mail.domain.tld --ssl --mailbox Archive/DMARC/
Current behavior
/var/modoboa/env/lib/python2.7/site-packages/django/db/models/fields/__init__.py:1430: RuntimeWarning: DateTimeField Report.start_date received a naive datetime (2017-09-27 05:04:03) while time zone support is active. RuntimeWarning)
Although the warning is generated the report IS imported.
Expected behavior