Any idea on why those default lines of code are having errors
Welcome @Barackwilliam !
Side note: Please do not post images of code here. When you have a question about code, copy/paste the code into the body of your post, between lines of three backtick - ` characters. This means you’ll have a line of ```, then your code, then another line of ```. (This forces the forum software to keep your code properly formatted.)
From what I can see from your post, there is no “error” there. What you have is your IDE thinking that an error exists. This is not an issue with your code, it is that you don’t have your IDE properly configured for your project.
This error appears because the Django package cannot be found in the interpreter set in vscode.
If you haven’t installed Django, install Django,
Once installed, change the interpreter.
Search on a search engine. How to change the interpreter in vscode.
