Skip to content

Confusion #1

@ragmha

Description

@ragmha

In app.py

--connect to database
def connect_db():
return sqlite3.connect('posts.db')

Do we need to include this? Aren't we already exporting it to DATABASE_URL='sql:///posts.db' and we are using SQLAlchemy for this project.I think we should comment this line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions