Skip to content

Commit 729fab9

Browse files
committed
upadte homepage html
1 parent 3b69153 commit 729fab9

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

oauth_demo/introduction/views.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
from django.shortcuts import render
1+
from django.shortcuts import render_to_response
22
from django.http import HttpResponse
33

44
# Create your views here.
55
def home(request):
6-
return HttpResponse(status=200)
6+
return render_to_response("index.html")

oauth_demo/templates/index.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Home page</title>
5+
</head>
6+
<body>
7+
This is home page
8+
9+
you wil see this page when you access "/" or when login succes.
10+
</body>
11+
</html>
12+
13+

0 commit comments

Comments
 (0)