Skip to content

A minimal Hello World example using Django, in my opinion, the most productive, intuitive and developer-friendly web framework.

Notifications You must be signed in to change notification settings

amiroff/minimal-django-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minimal Django Example

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.

Setting up:

  1. Download this repository, or if you have git installed, clone it
  2. Install Python
  3. Change into project directory: cd minimal-django-example
  4. Create a virtual environment, and install django:
    python3 -m venv venv
    source venv/bin/activate
    python3 -m pip install django
  5. Run the development server: python app.py runserver
  6. Navigate your browser to http://127.0.0.1:8000/ to see basic example using HttpResponse
  7. Navigate your browser to http://127.0.0.1:8000/hello/World to see basic basic example using template rendering.

About

A minimal Hello World example using Django, in my opinion, the most productive, intuitive and developer-friendly web framework.

Topics

Resources

Stars

Watchers

Forks