Skip to content

Factor out annotations to models #261

@fgregg

Description

@fgregg

Councilmatic code has many places where it needs to compare dates and datetimes.

For good reasons, the opencivicdata models store dates and datetimes as strings. Currently, we deal with this by extensively using annotations to cast to real datetimes.

We should just do this casting one on saving or updating the Councilmatic models in the signal handler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions