modoboa / modoboa-dmarc

A set of tools to use DMARC through Modoboa.
MIT License
15 stars 11 forks source link

naive datetime RuntimeWarning generated using python manage.py import_aggregated_report #22

Closed psycotic2017 closed 6 years ago

psycotic2017 commented 6 years ago

Impacted versions

Steps to reproduce

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