Skip to content

Error when populating SQLite DATE field #24

@maramaraz

Description

@maramaraz

Jetadmin correctly recognises SQLite DATE field as date and offers a calendar as means to fill the field. Yet, when I click the add button I get an error message stating that there is some incompatibility between SQLite DATE field and Python datetime object.

I solved a problem by adding the
{'query': 'DATE', 'operator': 'startswith', 'date_type': fields.DateTimeField},
to the data_types list in
jet-bridge/packages/jet_bridge_base/jet_bridge_base/serializers/model_serializer.py

Can you please patch the package?

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