What is an app? =============== ==> the individual chunk/part/section of the website/Django project is called as a " Django app". ==> the structure of the app in Django is: assume app name ==> "foodMenu" foodMenu ==> migrations __init__.py admin.py apps.py models.py tests.py views.py Create the app: open command prompt ==> type a command: "$python manage.py startapp application-name" Views.py: ========= ==> a python file can process user request view ========> 1) take the request 2) analyze the request 3) provide the appropriate response. How to write a view to our app: ================================ Syntax: def name-of-the-view(request): return http-response http ==> hyper text transfer protocol How to implement the view on server: ==================================== view must be link with URL. ==> to link the url to your view of app, we can create "urls.py" file. Creating the urls.py: ==================== How urlpatterns work in Django? ================================ Django ===> ROOT_URLCONF ==>settings.py ==> urls.py ==> match the send request url ==> call the view ==> Django open in server