applications renamed to app

This commit is contained in:
Software Shinobi
2026-02-10 03:01:40 -05:00
parent 7c2b1dced1
commit 2218991ff6
10 changed files with 1577 additions and 7 deletions

22
app/views.py Normal file
View File

@@ -0,0 +1,22 @@
from django.shortcuts import render
from rest_framework import generics
from django.http import HttpResponse
from django.template import loader
## https://docs.djangoproject.com/en/4.2/intro/tutorial03/
def home(request):
print("home home")
template = loader.get_template("home.html")
context = {
"key": "value",
}
return HttpResponse(template.render(context, request))