What 2 major problems can we solve with Django?
Why use a venv?
It’s like creating a unique workspace where all things added to it are used for the project, and nothing outside of it is.
Cmd for creating a venv? what if you want to specify a certain version of python?
conda create –name nameOfEnv django
conda create –name nameOfEnv python=3.5
What command returns a list of all the envs installed on your computer?
conda in –envs
Commands to activate and deactivate a venv?
conda activate nameOfEnv
conda deactivate nameOfEnv
command for installing django into a venv?
conda install django
For the command line statements that start with conda, what would they start with if i was not using the conda distribution of python?
pip
What is the command line statement for starting a new django project?
django-admin startproject name_of_project
Command for running the server.
python manage.py runserver
What are migrations?
an automized process of updating database structures, usually done after making changes to an applications models.py file.
Define a Django Project in your own words?
The apps and configurations that make up a purposeful functioning website.
What is a django application in your own words?
A part of your django project with a specific functionality, ex: workout maker app, workout viewer app, etc..
Command for creating a new app:
python manage.py startapp name_of_app
After creating an App using the command, what must the app be added to?
The installed apps list in settings.py
Each view for the application is represented by …
its own function within the views.py file that takes in request as an argument.
list the three arguments in order for the path function used in the urls.py file.

What does the path() function look like when one is trying to connect url patterns from an app to the urlpatterns of the project?

What are the steps for creating a template directory object in settings.py?

What do we do with the TEMPLATE_DIR object once it is created?
Pass it into the dictionary contained in the TEMPLATES object in settings.py. should be passed as the value to the ‘DIRS’ key in the form of a list with the first and only item being TEMPLATE_DIR.

What goes inside of the template folder?
folders named after the apps of the project to hold the template files for each app.
What template tag connects data from a view to an HTML page?
{{ insert_context_key }}
What are the 3 args passed into the render() function?

Summarize the 6 step process for creating a new page?
What is the heirarchy of the static directory?
first_level_project_folder > static > images