Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


Django Template Boilerplate

17 Sep 2022 »
pip3 install django
django-admin startproject mysite
cd mysite
python3 manage.py startapp app0
python3 manage.py startapp app1

set allowed hosts

website view

mysite/urls.py

app0/urls.py

app0/views.py HttpResponse

app1/urls.py

app1/views.py - JsonResponse