Now, at the end of the file under STATIC_URL add…STATICFILES, all one word, underscore DIRS equals…and then in paranthesis os.path.join, open paranthesis again…BASE_DIR comma, the string firstdjango,…followed by another argument with the string static.…Now to clean this up I'll just put a comma…at the end of this and hit enter…so that our closed parenthesis in on the last line.…
This tells Django to look in the static folder…inside of the first Django folder.…This photo called static will be beside of the…
- Creating a new Django project
- Defining Django models and fields
- Querying data with the Django ORM
- Building views and templates
Skill Level Intermediate
Q: pip says it was installed correctly, and I've updated the PATH variable as shown, but the pip --version command isn't working. Why?
A: Depending on your computer's setup, you'll need to restart your terminal/command prompt before the additions you've made to the PATH variable are respected. With some setups, even that won't be enough, and you may need to restart the entire machine before you are able to use the pip command directly.