Flask Capstone Project - Trouble Getting Started in Visual Studio Code

I’m trying to program my Flask Capstone Project in Visual Studio Code but encountering an issue in getting started⬇️

I’ve successfully upgraded Flask but received the following message why my base.html is not rendering properly incoordination with my index.html file. Any help would be greatly appreciated! (App.py, base.html and index.html code copied at the bottom below.)

ERROR: pip’s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 5.3.3 requires pyqt5<5.16, which is not installed.
spyder 5.3.3 requires pyqtwebengine<5.16, which is not installed.
anaconda-project 0.11.1 requires ruamel-yaml, which is not installed.
Successfully installed Flask-2.2.2 MarkupSafe-2.1.1 Werkzeug-2.2.2

APP.PY
from flask import Flask, render_template

from flask_sqlalchemy import SQLAlchemy

app = Flask(name)

@app.route(‘/’)

@app.route(‘/index.html’)

@app.route(‘/index’)

def home():
return render_template(‘index.html’)

from flask import Flask, render_template

from flask_sqlalchemy import SQLAlchemy

app = Flask(name)

@app.route(‘/’)
@app.route(‘/index.html’)
@app.route(‘/index’)
def home():
return render_template(‘index.html’)

INDEX.HTML

{% extends “base.html” %}
{% block content %}

Welcome to Ritchie's Restaurants!

Registered users can add a review.

Or feel free to search reviews to your heart's content!

{% endblock %}

BASE.HTML

Ritchie's Restaurants
NEW USER REGISTRATION ADD REVIEW SEARCH REVIEWSD
{% block content %}{% endblock %}

Sorry, code getting formatted automatically in Forum

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.