Skip to content

Naive Datetime Error on Location Add #12

Description

@DakotaNelson

When new locations are added, a warning is logged:

/usr/local/lib/python3.4/dist-packages/django/db/models/fields/__init__.py:1278: RuntimeWarning: DateTimeField Location.latest_data received a naive datetime (2015-03-26 10:47:23.673572) while time zone support is active.
  RuntimeWarning)

I don't think it actually harms anything, but it would be nice to not log that error anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions