This is a minimal Hello World
example using Django, in my opinion, the most productive, intuitive and developer-friendly web framework. It cannot be used for serious purposes, example just shows how simple and minimal Django can be to start learning it.
- Download this repository, or if you have git installed, clone it
- Install Python
- Change into project directory:
cd minimal-django-example
- Create a virtual environment, and install django:
python3 -m venv venv source venv/bin/activate python3 -m pip install django
- Run the development server:
python app.py runserver
- Navigate your browser to
http://127.0.0.1:8000/
to see basic example usingHttpResponse
- Navigate your browser to
http://127.0.0.1:8000/hello/World
to see basic basic example using template rendering.