Skip to content

Configuration directory mode does not pick up other file extensions than .db #1646

@dnsos

Description

@dnsos

Hello, I've been trying to run Datasette with the configuration directory mode with a structure such as this one:

some-directory/
    example.sqlite3
    another-example.db
    one-more.custom
    [...]

(In my scenario I can't just change the filename extension without other problems arising)

Now databases with the .sqlite3 or the custom filename extension are ignored by Datasette in this case. I'm aware that the docs state that a .db extension is required, but I was wondering if there is a reason for restricting this or any workaround available? When I run datasette example.sqlite3 or datasette one-more.custom the databases are served by Datasette without a problem.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions