@26325001/

Basic-Template

Django

This is a very basic template for Django - nothing happens, nothing gets displayed.

fork
loading
Files
  • main
    • views.py
    • __pycache__
    • migrations
    • models.py
    • settings.py
    • urls.py
  • db.sqlite3
main/views.py
1
2
3
4
5
6
7
8
9
from django.shortcuts import render


# Create your views here.
from django.http import HttpResponse

def homePageView(request):
  html = "Hello, World!"
  return HttpResponse(html)