FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

DB-creds in __main__ · Issue #25 · pgorecki/python-ddd · GitHub

DB-creds in __main__ #25

Description

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


    Back | FazBrowse Home | New Git URL