Skip to content

DB-creds in __main__ #25

@cdorsman

Description

@cdorsman

Great work. But if I may add a point for improvement:

In your main file, I see that you have DB-creds hardcoded:

container.config.from_dict( dict( # DATABASE_URL="sqlite+pysqlite:///:memory:", DATABASE_URL="postgresql://postgres:password@localhost:5432/postgres", DATABASE_ECHO=False, DEBUG=True, ) )

From a security-perspective, this would be problematic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions