-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython_docs.py
More file actions
46 lines (21 loc) · 1.3 KB
/
python_docs.py
File metadata and controls
46 lines (21 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# =============================== Django Documentation =================================
#============ Request ===============
# Anything we click on browser, it will send a request to the server. The server will process the request and send a response back to the browser. The response can be a web page, an image, or any other type of data.
#In simple words, anything that we perform in the browser is known as request.
#Search something in google, click on a link, submit a form, etc. are all examples of requests.
#or
#Request is a piece of data/information that is sent from the browser(frontend) to the server and server processes the request and sends a response back to the browser.
#============ Response ===============
#Response
# The response is the data that the server sends back to the browser after processing the request. It can be a web page, an image, or any other type of data.
#========================== MVT (Model View Template) =======================
#Model (Database)
#View (function/Business Logic)
#Template (Frontend/UI)
#================= Steps to create a Django project =================
#1. Create folder for your project
#2. Create a virtual environment
#In terminal
#python -m venv env your_project_name
#example:
# python -m venv env myenv