This document discusses web programming using Python and JavaScript. It covers HTTP and status codes like 200 for OK and 404 for Not Found. It introduces Django, a Python web framework, and how to install and start a Django project using commands like pip3 install Django and django-admin startproject. It also mentions running the local web server with python manage.py runserver and generating app files with python manage.py startapp.
This document discusses web programming using Python and JavaScript. It covers HTTP and status codes like 200 for OK and 404 for Not Found. It introduces Django, a Python web framework, and how to install and start a Django project using commands like pip3 install Django and django-admin startproject. It also mentions running the local web server with python manage.py runserver and generating app files with python manage.py startapp.
Django Web Applications HTTP GET / HTTP/1.1 Host: www.example.com ... HTTP/1.1 200 OK Content-Type: text/html ... HTTP Status Codes Status Code Description
• PROJECT_NAME/settings.py: settings and configuration • PROJECT_NAME/rls.py: URLs that can be visited python manage.py runserver python manage.py startapp APP_NAME Django Web Programming with Python and JavaScript