Skip to content

AttributeError: type object 'Config' has no attribute 'DB_NAME' #45

@JulianCamits

Description

@JulianCamits

Hello, i am using the template, in all DB question i put NO because i use MSSQL and the template dont have it.

But i get a error when i try to do the "make run-dev"

File "/mnt/c/Python/contabilium.api.common/config.py", line 94, in Dev
SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/%s.db' % Config.DB_NAME
AttributeError: type object 'Config' has no attribute 'DB_NAME'

i think this is the important fragment of the stacktrace of the error.
i think my NO to use SqlLite is ignored.

Any help can you give me?

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