Skip to content

Empty JSON responses when using local sqlite3 database #139

@MikeTheCanuck

Description

@MikeTheCanuck

I followed the instructions in this project's README.md and was able to migrate, importcsv and launch the application, but when I load any of the endpoints, they all respond with an empty JSON document (e.g. http://192.168.99.100:8000/budget/history/)

HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 0,
    "next": null,
    "previous": null,
    "results": []
}

I have verified using DB Browser for SQLite that the expected data is in the database tables.

I have verified that after swapping the project_config.py for the one that points to AWS as the DB, I am seeing populated JSON responses [i.e. the code didn't change, just the datasource].

I can't imagine what is going wrong. Anyone have any ideas?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions