As I am trying to create the DB for this online tutorial I am getting the error below when I run the following command in python environment
from api import db,create_app
db.create_all(app=create_app())
The error I am getting is as follows:
File "C:\JS_Class\tests\ng-blog\api\__init__.py", line 21, in create_app
app.register_blueprint(blogs)
AssertionError: View function mapping is overwriting an existing endpoint function: blogs.wrapper
Can Someone push me into the right direction for this as I am stuck and I don't know where to look for more answers...