Skip to content

Commit

Permalink
made a home page html template that can be edited :)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamritchie committed Apr 26, 2024
1 parent baea049 commit 9ea1425
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Binary file modified GEODESK_AI_APP/__pycache__/views.cpython-312.pyc
Binary file not shown.
8 changes: 8 additions & 0 deletions GEODESK_AI_APP/templates/GEODESK_AI_APP/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<title>My Django Page</title>
</head>
<body>
<h1>GEODESK AI GIS SLAY</h1>
</body>
</html>
2 changes: 1 addition & 1 deletion GEODESK_AI_APP/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
from django.http import HttpResponse

def home(request):
return HttpResponse("<h1>Welcome to My Django Web Page!</h1>")
return render(request, 'GEODESK_AI_APP/home.html')

0 comments on commit 9ea1425

Please sign in to comment.